Last modified: 2010-05-15 15:48:18 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 9867 - Certains images change of directory when upgrading to UTF-8
Certains images change of directory when upgrading to UTF-8
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.9.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://enciclopedia.us.es
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-10 14:10 UTC by Alejandro Sánchez Marín
Modified: 2010-05-15 15:48 UTC (History)
0 users

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


Attachments

Description Alejandro Sánchez Marín 2007-05-10 14:10:33 UTC
I upgrade from 1.4.15 to 1.9.3 and when apply convmv to filesystem images, all
md5 changes. Many images are affected and need to relocate on correct directory.

I see rebuildImages.php is only for database image data. But for filesystem, has
any script to relocate it? Because if i use importImages.php all database image
data will be repeated.

How i can relocate it?

Thanks in advance.
Comment 1 Brion Vibber 2007-05-11 02:02:19 UTC
This is done as part of the upgrade1_5.php script (which can only been run for
appropriate versions, of course). If you're using some third-party 1.4->1.5
Latin-1->UTF-8 converter, you'll have to consult with them or do it custom.

It's fairly trivial to rename the files:
1) convert the filename
2) recalculate hash
3) ensure directories are present
4) move the files

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


Navigation
Links