Page MenuHomePhabricator

Default file uploader is broken on the English Wikipedia
Closed, ResolvedPublic

Description

When I go to https://en.wikipedia.org/wiki/Main_Page and click "Upload file" in the sidebar, I'm taken to https://en.wikipedia.org/wiki/Wikipedia:Upload. I click the giant "Click here to Start the Upload Form" link which takes me to https://en.wikipedia.org/w/index.php?title=Wikipedia:File_Upload_Wizard&?withJS=MediaWiki:FileUploadWizard.js.

So our starting point is https://en.wikipedia.org/w/index.php?title=Wikipedia:File_Upload_Wizard&?withJS=MediaWiki:FileUploadWizard.js.

You select a file to upload, pick a file name, fill in a description, click the "This is a free work." option and no upload button appears. This is a major problem.

The JavaScript error console for my browser says:

Error: Error: Syntax error, unrecognized expression: .[name="file"]
Source File: https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=20120829T181910Z
Line: 69

Multiple users have confirmed this issue.


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=37320

Details

Reference
bz39779

Related Objects

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:49 AM
bzimport set Reference to bz39779.
bzimport added a subscriber: Unknown Object (MLST).

This needs to be solved by that wiki's admins.

(In reply to comment #1)

This needs to be solved by that wiki's admins.

This bug is valid and a high priority to get fixed. Please don't close the bug until users are able to upload with the default file uploader on the English Wikipedia.

This bug is invalid. The issue is in a script on the wiki (MediaWiki:FileUploadWizard.js). Do not reopen.

(In reply to comment #3)

This bug is invalid. The issue is in a script on the wiki
(MediaWiki:FileUploadWizard.js). Do not reopen.

You don't seem to have fixed the issue, though you've now admitted that there is one. So... this is a valid bug, then. :-)

Related: bug 37320.

Thehelpfulonewiki wrote:

Thanks to Roan and Ryan for fixing this issue so quickly.

Krenair: MZ was correct to open a bug for this, simply stating that 'it needs to be solved by that wiki's admins' isn't the right line of thought, in my opinion. Please consider that in the future there may not be admins that have sufficient experience or knowledge of what could be causing an issue that it could take them significantly longer to fix a problem than the developers who are working on, or are likely to be more well versed with the relevant code. We don't want too start adopting a 'admins must fix things themselves' mentality here, as that could end up being disastrous for small wikis with barely any active admins, let alone ones with developing/code experience!

Thehelpfulone

Roan and kaldari have been super-helpful (way more than community could expect), but the point is rather that bugs in Wikimedia > General can also be filed for things which sysops (or unknown deities) technically have to fix.