Last modified: 2010-05-15 15:59:50 UTC
The getThumbnails function (LocalFile.php) does nothing when isHashed() is false. Because of this purgeThumbnails doesn't do any work, which is obviously bad when an image is updated. I removed the "if ( $this->isHashed() )" wrapper and the guts of the function seem to work for the non-hashed setup as well (fixed the problem for me, anyway :-) My suspicion is that the function was bifurcated prior to getThumbPath abstracting the hashing/nohashing pathname and since the major wikis run hashed, nobody's noticed. Unclear what $this->load() does and if calling it when non-hashed is a problem... I didn't dig into it that deeply. Cheers, Jon
Fixed in r34935