That line:
$wgHashedUploadDirectory = false;
Does a number of things.
First, it puts the files just in the images directory instead of in
subdirectories.
Second, it caches thumbs.
So to get the thumbnails to refresh, you need to delete the cached
thumbnails.
I don't know if it will do this automagically (purposeful misspelling)
in 1.13, I can try.
On May 30, 2008, at 7:13 AM, Christopher Lamb wrote:
Hi,
I have a question about image thumbnails. Maybe this is a simple
issue but I'm fairly new to this and I couldn't find an explanation
of it anywhere.
I have two separate wikis running on a windows xp machine. On one,
if you upload a new version of an image file, and a page contains a
thumbnail of the image, the thumbnail will not update (I have tried
clearing my browser cache, etc., but it doesn't create a new
thumbnail from the new file, just continues to use the old one).
On the wiki, it works fine: if you update a new version of the
image file, the thumbnail is updated right away when you load the
page.
The only difference between the two wikis in the LocalSettings.php
file appears to be as follows:
In the wiki where the thumbnails update, this line is commented out:
# $wgHashedUploadDirectory = false;
whereas in the wiki where the thumbnails do not update, it instead
has the line: $wgHashedUploadDirectory = false;
There's a comment above the line, but I believe I have followed it:
I have the necessary directories, and they seem to all be writable.
I'm not really sure what the line does, and couldn't find a clear
explanation of it, other than the obvious thing that it puts the
images
in a different folder setup. I do not guarantee it is the responsible
party, but it is the only difference that I can see between the two
setting files. I don't want to comment it out on the not-working wiki
because my understanding is I would have to re-upload every image file
if I did so. I wondered if there's something I'm missing, if the
problem is actually somewhere else, and if anyone knows of a fix.
I use ImageMagick for my image management. I have MediaWiki 1.12.0;
PHP 5.2.5; MySQL 5.0.45.
Thanks for your help.
-- Chris
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Darren VanBuren
onekopaka(a)gmail.com
----------------------------------------------
Administrator of Onekopakaspace
Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/