Last modified: 2012-04-12 13:59:48 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 T25176, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23176 - Annoying to confirm each file reupload.
Annoying to confirm each file reupload.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-12 21:08 UTC by Derk-Jan Hartman
Modified: 2012-04-12 13:59 UTC (History)
4 users (show)

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


Attachments
Ignore exists warning when reuploading (678 bytes, patch)
2010-04-12 21:08 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2010-04-12 21:08:35 UTC
Created attachment 7289 [details]
Ignore exists warning when reuploading

Users of commons find it annoying to have to double stage all file uploads or to have to always check "ignore all warnings".

I was thinking it might be a good idea to always ignore the "fileexists" warning when the reupload option is used and the "fileexists" warning is the only warning. Possibly extended to only do this for registered users and given unregistered users the warning at all times.

I have added a small patch to demo this behavior on a wiki.
Comment 1 Raimond Spekking 2010-04-12 21:15:19 UTC
I am pretty sure that this behaviour is a code update regression.
Comment 2 Derk-Jan Hartman 2010-04-12 21:18:36 UTC
The "ignore all warnings" used to be checked in the uploadform by default in older versions during reupload. Personally I consider this a bad choice, because than it also ignores duplicates and filetype mismatches. As such though this might be a regression, I do think that the reason this has regressed was valid and should remain. It just needs more work I guess.
Comment 3 Ilmari Karonen 2010-04-12 21:40:27 UTC
The real problem on Commons is not that you get a warning about the existing file, it's that the "Ignore warning and save file anyway" button on the confirmation page is disabled and unclickable, so you literally *can't* save the file except by selecting "Ignore any warnings" in advance.

Note that using the Add Media Wizard (via the mwEmbed) gadget is apparently another way to work around this issue, although it has its own problems (it insists on prepending "== Summary == " to the upload summary, sometimes several times, for some reason).
Comment 4 Ilmari Karonen 2010-04-12 21:43:55 UTC
Disabling JavaScript also seems to make the button usable.  Haven't figured out yet which script is disabling it, though.
Comment 5 Bryan Tong Minh 2010-04-14 07:27:50 UTC
Ideally only the file-exists error is skipped and all other warnings are just passed through.
Comment 6 Bryan Tong Minh 2010-04-14 07:30:34 UTC
(In reply to comment #5)
> Ideally only the file-exists error is skipped and all other warnings are just
> passed through.

Actually that is supposed to be already supported using a JavaScript called destWarningAck. Did Commons disable this somehow?
Comment 7 Derk-Jan Hartman 2010-04-14 12:25:19 UTC
The issue is present on the English Wikipedia as well. Though we don't see the "disabled" button, so that must have another cause.
Comment 8 Bryan Tong Minh 2010-04-14 12:31:16 UTC
Ah, might this be related to the broken JavaScript bug?
Comment 9 Bryan Tong Minh 2010-04-14 13:07:01 UTC
Javascript from bug 22970 deployed. Does this fix the issue?
Comment 10 Bryan Tong Minh 2010-04-14 13:59:14 UTC
Should be fixed with r65025
Comment 11 Bryan Tong Minh 2010-04-14 14:59:11 UTC
Finally fixed with r65029

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


Navigation
Links