Last modified: 2014-01-02 11:49:23 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 T42921, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40921 - UW: re-upload of deleted file impossible (duplicate-archive case); should have override
UW: re-upload of deleted file impossible (duplicate-archive case); should hav...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 46741
  Show dependency treegraph
 
Reported: 2012-10-10 11:22 UTC by Ferry Roland
Modified: 2014-01-02 11:49 UTC (History)
6 users (show)

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


Attachments
Upload Blocker (15.18 KB, image/png)
2012-12-02 06:49 UTC, Ferry Roland
Details

Description Ferry Roland 2012-10-10 11:22:31 UTC
Hello if you try to upload the deleted file will result as a 3 different messages.I don't know 3 messages is,and it changes everytime as a real bug.You can upload it in old form.
Comment 1 Andre Klapper 2012-10-10 12:36:58 UTC
Hi Ferry,
unfortunately this report is not very useful because it does not describe the
problem well. If you have time and can still reproduce the problem, please read
https://www.mediawiki.org/wiki/How_to_report_a_bug and add a more useful
description to this report by providing exact steps to reproduce (click by
click).
Also, which exact Mediawiki version is this about?
Comment 2 Erik Moeller 2012-11-10 07:17:30 UTC
Downgrading to normal until we have more information.
Comment 3 Ferry Roland 2012-12-02 06:49:39 UTC
Created attachment 11445 [details]
Upload Blocker

Upload Blocker bug,which deleted files can't uploaded again by UploadWizard but works in normal upload form
Comment 4 Lupo 2012-12-02 21:12:17 UTC
I can confirm this. It's hyper-annoying when testing the UploadWizard.

To reproduce, upload any file through UW. Once that's gone through, visit the file description page and delete the file. Then try to upload the same file again through UW.

It's in mw.UploadWizardUpload.js, the 'duplicate-archive' case at line 225ff. See also bug 39852 (there used to be a way to override this).
Comment 5 Lupo 2012-12-04 07:23:09 UTC
At least users having the appropriate rights should have a possiblity to override this. Off-hand I don't see any user right that would be 100% appropriate (I see no 'deleted-reupload' or some such), the closest existing right appears to be 'reupload'.

Since the normal upload form allows re-uploading of previously deleted files (though giving a warning about this), the override could maybe be provided for anybody irrespective of user rights.
Comment 6 Derk-Jan Hartman 2013-05-24 16:13:54 UTC
There already is functionality to handle this, but it was disable due to bug 39852. Seeing if we care revive it now.
Comment 7 Gerrit Notification Bot 2013-05-24 18:47:56 UTC
Related URL: https://gerrit.wikimedia.org/r/65318 (Gerrit Change I55e3ef9b3224f7a31c8d738e75a241010ed55226)

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


Navigation
Links