Nicolas STRANSKY wrote:
Le 04.10.2007 17:40, Brion Vibber a écrit :
1) It is not the normal configuration for
thumb.php to appear directly
in <img src> in the HTML output in the wiki.
2) Original-size or larger-size non-rendered thumbs should probably not
be using thumb.php with a larger-than-original specified size.
Thus a non-default configuration must be in effect.
OK, thanks for this clarification. So I am looking for what produces
this problem.
[snip]
$wgThumbnailScriptPath =
"{$wgScriptPath}/thumb.php";
Ok, I'd first recommend removing this line unless you're sure you need
it. Unless $wgGenerateThumbnailOnParse has also been disabled, I'm 99%
sure that it doesn't do anything useful for you, so removing it will
simply make your bug go away. :)
I did some quick poking and can confirm the described behavior with
1.11; URLs with thumb.php are being output for same-size and larger-size
images as well as those that would actually need rendering. That's
probably a bug.
Tried briefly to repro on current trunk (1.12) but couldn't get
$wgThumbnailScriptPath to do anything at all...
-- brion vibber (brion @
wikimedia.org)