In the past day, I've noticed that all of my images on my wiki are now being redirected to the wrong folder.
Normally, images would link to /images, but now they go to wiki/images/c/c4/
You can see an example here: http://wiki.galbijim.com/Image:Donghwasa3.jpg If you click on the image, you'll then see the URL change to the incorrect folder and a 404.shtml error.
Any ideas?
Craig White wrote :
In the past day, I've noticed that all of my images on my wiki are now being redirected to the wrong folder.
Normally, images would link to /images, but now they go to wiki/images/c/c4/
You can see an example here: http://wiki.galbijim.com/Image:Donghwasa3.jpg If you click on the image, you'll then see the URL change to the incorrect folder and a 404.shtml error.
Any ideas?
did you have
$wgHashedUploadDirectory = false;
in your LocalSettings.php before and removed/commented it ?
if it's not there, try to add it
On 17/01/2008, Craig White craig@galbijim.com wrote:
In the past day, I've noticed that all of my images on my wiki are now being redirected to the wrong folder.
Normally, images would link to /images, but now they go to wiki/images/c/c4/
There is an setting to split images up into different folders, $wgHashedUploadDirectory. I think some systems have difficulties with large folders - it takes a long time to find a file in them, or something like that. Presumably, you've inadvertently turned that setting on - have you edited LocalSettings.php recently? If you just set that setting back to false, and move any images uploaded since the change back to the correct folder, it should all start working again. If you want to use different folders, you'll need to move all existing images to the appropriate folder - a lot of work if you have more than a handful of images. The setting isn't designed to be changed on an existing site - you need to make a choice and stick with it.
mediawiki-l@lists.wikimedia.org