Last modified: 2011-04-22 18:35:24 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 T30374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28374 - Forbid reupload of same file under same name
Forbid reupload of same file under same name
Status: RESOLVED DUPLICATE of bug 15676
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-01 20:59 UTC by Umherirrender
Modified: 2011-04-22 18:35 UTC (History)
2 users (show)

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


Attachments

Description Umherirrender 2011-04-01 20:59:50 UTC
It is possible to upload the same (sha1?) file over and over under the same filename. Please forbid this and handle this as nullupload in addition to an nulledit (saving an edit without changes).

Thanks.
Comment 1 Brion Vibber 2011-04-06 22:09:43 UTC
At the moment file storage is more or less tied to the versioning bits, and there's not really a way to create a "null edit" style "null upload" entry that would just reference the same file.

Possible changes to the file storage system in the future may make this happen more or less 'by magic' if file refs are moved to hash-based.
Comment 2 Krinkle 2011-04-07 11:02:15 UTC
Hm.. why a nullupload though ?

nulledit has a purpose and exists as such, but what would a nullupload though ?

I'd say we run the sha1 detection and throw a big fat warning if it's the same. Waste of space and clutters the history.

People (mis|ab|re)use it all the time with the intention to change the file description (only yo find out that didn't even work).
Comment 3 Bryan Tong Minh 2011-04-22 18:35:24 UTC
Duplicate; if there are convincing reasons to do this, reopen the other bug.

*** This bug has been marked as a duplicate of bug 15676 ***

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


Navigation
Links