Last modified: 2014-07-31 11:31:20 UTC
The message "Bad request" / "unknown function SpecialUpload::ajaxGetExistsWarning" is thrown on "Special:Upload" when a user uploads a file, however uploading still works. I have found this thread on the net [1], but the bottom line seems to be that no bug was opened for this to date. Since setting parameter "$wgUploadSizeWarning" has caused various trouble over time in the past I will not be surprised if this is somehow involved in this issue. [1] http://www.gossamer-threads.com/lists/wiki/mediawiki/426006
The function was removed with Gerrit change #65641 which is part of REL1_22 and REL1_23. It is at least used as ajax call in MulitUpload and MsUpload extension ( https://github.com/search?q=ajaxGetExistsWarning+@wikimedia&type=Code&ref=searchresults), maybe that wiki is using these extensions.
Thanks for your reply, but this cannot be the reason. We respective wiki [1] is not using any extensions manipulating or changing upload capabilities of MediaWiki. The only noteworthy extra thing is the custom skin which I think should not be the cause of the issue. [1] http://wiki.xmlab.org/Spezial:Version
Your upload.js[1] contains the call to ajaxGetExistsWarning, in the default this stays under skins/common/upload.js[2], maybe this was copy to the own skin or a problem while updating occurs, which skips this file. [1] http://wiki.xmlab.org/w/load.php?debug=true&lang=de&modules=mediawiki.legacy.upload&only=scripts&skin=gmwfreeblue&* [2] https://git.wikimedia.org/blob/mediawiki%2Fcore/REL1_22/skins%2Fcommon%2Fupload.js
Ouch, this must then have been a problem caused by improper upgrading. I will now have to investigate why I missed to move forward to the new files. So this is indeed a RESOLVED INVALID. I have just moved up the current files from the MW 1.22 branch and the transgressing code is no longer part of the system. Thank you very much for your assistance which is indeed much appreciated! Cheers