What I'm finding is that some images do show up and other don't. In some cases where images do not show up there IS a thumbnail available, but the larger images ISN'T available. For example, this thumb exists:
images/thumb/0/09/State_Coat_of_Arms_of_the_USSR_(1958-1991_version).jpg
But there is no corresponding image elsewhere in the image dir tree, and if I understand correctly there should be one at
images/0/09/State_Coat_of_Arms_of_the_USSR_(1958-1991_version).jpg
but there isn't. Why is this?
So looking at includes/Image.php I see that it checks to see if it can render an image ( canRender() ) based on a variety of parameters. Seems to me that the function returns false because a primary image isn't available. Shouldn't there be a way to see if the thumb exists and if so then show that image? Or would that break other things? Or do I not completely understand what's happening with image rendering?
Mike O
I managed to get the image archive downloaded. FYI on my previous request for help with the download: The problem with not being able to download the entire image archive was due to the kernel, which needed to be rebuilt.
That said, I can't seem to get the images to appear on the Wiki now. I've untar'd the file in the wiki software directory, so now just to be clear I have an images/ directory and an en/ directory, the latter being the image archive files. I also have a symlink inside images/ that points to en/ just in case I should have untar'd the image archive inside the images/ directory (eg: images/en/)
Regardless, the images do now show up on the wiki. Articles still appear with a link to upload the image instead of showing the image itself, which is present on the system. I've loaded the image.sql and imagelink.sql to the database and that didn't seem to help. Images still do not appear in articles.
This is in MediaWiki 1.8.1, with Sept 06 db dump and Nov 05 image archive.
Any idea how to fix this problem?
wikitech-l@lists.wikimedia.org