Last modified: 2011-01-25 01:08:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 18033 - File moving error
File moving error
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 15842
  Show dependency treegraph
Reported: 2009-03-18 10:37 UTC by MBisanz
Modified: 2011-01-25 01:08 UTC (History)
9 users (show)

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


Description MBisanz 2009-03-18 10:37:30 UTC
When moving files to new names on enwiki I encountered the following error.  The move completes as normal, but the script generates the following error

	* Api error: Unknown error: ``'' - unknownerror

The image description page moves to the new name and leaves a redirect at the old name, but the file itself stays at the old page.  

Places it has happened are on are:

With Are you man enough, I was able to move and delete the file and then move the file description page on top of it and restore.  

With Vermont Street, when I tried the above, the file undeletion generated the error

	Undelete failed; someone else may have undeleted the page first.


	Error undeleting file: Unable to write to file "public/archive/a/a4/20070717110943!DSCN7043.JPG": file exists 

I restored the image by viewing and downloading the deleted image and then re-uploading it.  

With Honey and Jewel I haven't tried anything, so they still need fixing.
Comment 1 MBisanz 2009-03-18 20:17:24 UTC
Also happened with

when converting MIME errors.
Comment 2 Brion Vibber 2009-03-18 20:21:07 UTC
Image renaming is disabled pending resolution.
Comment 3 MBisanz 2009-03-18 20:21:55 UTC
(In reply to comment #1)
> Also happened with
> when converting MIME errors.

Error message encountered when doing the above was 

        Could not find file "$1".

Comment 4 MBisanz 2009-03-18 21:07:54 UTC

Apparently I missed the error message on that one.
Comment 5 Victor Vasiliev 2009-04-26 16:45:08 UTC
Missing files (I suppose they were the reason of failures) are now handled gracefully, see bug 18420.

Error handling is fixed before in r49001.

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