Last modified: 2014-07-31 11:31:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70879, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68879 - Bad request / unknown function SpecialUpload::ajaxGetExistsWarning
Bad request / unknown function SpecialUpload::ajaxGetExistsWarning
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.22.8
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 21:53 UTC by [[kgh]]
Modified: 2014-07-31 11:31 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2014-07-30 21:53:24 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
Comment 1 Umherirrender 2014-07-31 08:46:07 UTC
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.
Comment 2 [[kgh]] 2014-07-31 08:51:42 UTC
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
Comment 3 Umherirrender 2014-07-31 11:16:11 UTC
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
Comment 4 [[kgh]] 2014-07-31 11:31:20 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links