Uploading an image which has been deleted gives "file with this name exists" warning
Closed, ResolvedPublic


Author: gunter.schmidt

When you upload a picture, that had been in the database, you get a warning, the picture exists, even
though is does not.


  1. Upload a picture successfully.
  2. Delete the Image:article.png. The corresponding image file is physically removed.
  3. Restore Image:article.png (you acutally need to restore the image article first). "No file by this

name exists, you can upload it."

  1. Click on the upload it - link and upload the image again.
  2. Warning: "A file with this name exists already, please check Image:example.gif if you are not sure if

you want to change it."

At this point it would be better to display the error message which comes if you do not restore the
article, but upload a picture with the name of the deleted article. It just gives a warning, that a
previous version had been uploaded.

Version: unspecified
Severity: normal

bzimport added a project: MediaWiki-Uploading.Via ConduitNov 21 2014, 9:35 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz9019.
bzimport created this task.Via LegacyFeb 18 2007, 10:04 AM
aaron added a comment.Via ConduitMar 15 2007, 3:40 PM

Done in r20490.

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:50 AM
Gilles moved this task to Done on the Multimedia workboard.Via WebDec 4 2014, 10:52 AM

Add Comment