Last modified: 2010-05-15 15:33:09 UTC
If the thumbnail or source image lives in a path containing a space (IE: C:\Program Files), then when $wgUseImageMagick is set, the thumbnail will fail to be created, under windows. To get around this, you merely need to insert quotation marks around the filenames. These lines are intended to replace lines 462-465 of includes/Image.php: $cmd = $wgImageMagickConvertCommand . " -quality 85 -background white -geometry {$width} \"". ($this->imagePath) . "\" \"" . ($thumbPath) . "\"";
This is incorrect and potentially dangerous. Use wfEscapeShellArg().
Unable to reproduce the originally reported behaviour under SVN trunk; suspect this was fixed since 1.6 and poss. 1.5 branches.