[Mediawiki-l] Plus-character in file names prevent thumbnail creation

Platonides Platonides at gmail.com
Wed Apr 18 17:43:56 UTC 2012

On 17/04/12 14:36, Gregor Hagedorn wrote:
> We cannot get thumbnails rendered for media file names that contain a
> plus sign (+). The error we see is: "Error generating thumbnail - The
> source file for the specified thumbnail does not exist." (but the
> original file is there).
> We found a web discussion of the problem, but without an solution. We
> are using an Apache’s rewrite to process thumbs upon usage (rather
> than at page saving time). Is this the culprit? The WMF/Commons have
> solved it, but we cannot find a copy of the Apache rewrite WMF is
> using (and the problem may be elsewhere anyways).
> Has anyone encountered this problem and solved it?
> --
> Example Thumbnails that do not render:
> * http://species-id.net/openmedia/File:Agrostis%2BMibora_sp_Sturm14.jpg
> (fetched from commons)
> * http://species-id.net/openmedia/File:Amphibienlaich_%2B_Larven_Plustest.jpg
> (manually uploaded)

Yes, + in filenames is problmetic.
How are you doing the rewriting to thumb.php?

More information about the MediaWiki-l mailing list