On Fri, Feb 18, 2011 at 11:54 PM, Gregor Hagedorn <[email protected]> wrote: > All went well, but mediawiki does not know about the files yet. I > thought running > ./maintenance/rebuildImages.php > is the right thing to do, but it is undocumented and does not achieve > anything. > > output is: > Processing image... > Finished image... 0 of 0 rows updated > Processing oldimage... > Finished oldimage... 0 of 0 rows updated > > Any hints how to restore the image to the wiki?
Sure. Easy. :) Step -1: The images should *not* be inside your wiki's images/ dir, put them somewhere else. Step 0: *REMOVE* thumbs/ and archive/ (you might want a copy of that) and everything that's not part of the 0/ through f/ dirs. Step 1: Flatten the directory structure. Yes, seriously. Put all images in one flat dir. find with mv does the trick nicely. Step 2: Run importImages.php and point it to the flattened directory your images are in. Step 3: Put archive/ back in place, if you want it. Tada! Like I said: easy. ;) -- Lucas 'TOR' Garczewski Wikia Tech Team _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
