Last modified: 2010-05-15 15:48:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11867, the corresponding Phabricator task for complete and up-to-date bug report information.
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