Page MenuHomePhabricator

Multiple uploads with the same title
Closed, ResolvedPublic

Description

E.g. see [[commons:File:Kassari mõisa valitsejamaja.jpg#filehistory]] or [[commons:File:Vana-Põltsamaa mõisa aia_piirdemüür.jpg#filehistory]]. There are multiple versions uploaded at the same time. As revision history for both mentions no new versions uploaded (though upload log does), I assume these files were uploaded at once.

I haven't tested myself, but probably it was possible because the same title was chosen for multiple images? As images that are overwritten by newer versions are lost and can't be used in Wikipedia articles, I assume this is something that UW sholdn't allow.


Version: unspecified
Severity: normal

Details

Reference
bz31208

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:55 PM
bzimport set Reference to bz31208.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

E.g. see [[commons:File:Kassari mõisa valitsejamaja.jpg#filehistory]] or
[[commons:File:Vana-Põltsamaa mõisa aia_piirdemüür.jpg#filehistory]]. There are
multiple versions uploaded at the same time. As revision history for both
mentions no new versions uploaded (though upload log does), I assume these
files were uploaded at once.

Those aren't the same title...

These are two different examples. See the file history for either. Under first title there are two images (not sure what's the third item) and under second title there are two images.

(In reply to comment #1)

Those aren't the same title...

UW does allow you to upload two different files with the same name -- it gives you a popup warning, but allows you to continue anyway. You're then asked to title the images.

Providing the same title isn't identified immediately, a "2" is apparently added, though. Providing the same should provide a JS warning and dis-allow continuing.

Doesn't appear to be a UW problem.

ibaker wrote:

I believe this returns an error instead for users who don't have permission to replace files, and is a dup of bug 28921.

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

I still see this happening at [[commons:File:Lootsi_14.jpg#filehistory]]. Note there's a different image upload as new version, but without the usual "<username> uploaded a new version of <filename>" entry on history page. How comes it isn't a UW problem, if the 2 different photos can't be uploaded at once using the regular upload form and if according to comment line these images were uploaded using UW? Maybe it has got something to do with campaigns' part of UW. Software shouln't allow this, as one of the two photos is practically lost (without picking the older version and reuploading it).

Pikne: Please file a new bug report. This one was closed two years ago, and it's likely a different problem in the code nowadays.

  • This bug has been marked as a duplicate of bug 28921 ***

Pikne: Please file a new bug report. This one was closed two years ago, and
it's likely a different problem in the code nowadays.

Well, I don't know the cause, but the problem is the same, that I reported two years ago. This was probably never fixed other than mistakenly marked as a duplicate.

This does appear to be the same problem, but may not have the same cause.

The examples in comment #0 don't include the comment "User created page with UploadWizard". I don't know if this is significant -- maybe the comment was added later to the UW code -- but it is a difference.

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

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:24 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM