https://bugzilla.wikimedia.org/show_bug.cgi?id=55238
Web browser: --- Bug ID: 55238 Summary: imagecopy_self.py replaces usage even if upload to C fails Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1332/ Reported by: mga73 Created on: 2011-08-23 17:25:13 Subject: imagecopy_self.py replaces usage even if upload to C fails Original description: If a file is moved to Commons with a new name imagecopy_self.py replaces the usage. That is good :-)
However, I have 2 examples where usage was replaced even if file was not moved to Commons.
1) I made a typo in .jpg http://en.wikipedia.org/w/index.php?title=Rashean%5C_Mathis&diff=4380897... 2) Filetype did not match .ext http://ms.wikipedia.org/w/index.php?title=Sekolah%5C_Menengah%5C_Kebangsaan%...
So I suggest that replace is only done once the upload is verified.