My wiki has a huge number of missing files, so we created blank pages for them with categories, making sorted lists of missing files possible. However, now whenever someone tries to upload a missing image, they get this warning:
"The description page for this file has already been created at [File], but no file with this name currently exists. The summary you enter will not appear on the description page. To make sure your summary appear there, you will need to manually edit it."
I would like to permanently disable this warning on my wiki. I did find this snippet that should permanently check mark the "ignore any warnings" checkbox, but I tried adding that snippet in both MediaWiki:UploadForm.js and MediaWiki:Commons.js and still the checkbox is blank.