341
edits
(cp from WikiCommons; version 14:39, 10 January 2015 Lupo) |
(enable for thumbnails derived from WikiCommons images) |
||
Line 143: | Line 143: | ||
{ | { | ||
// Of course you could also use wgNamespace or any other of the wg-globals here. | // Of course you could also use wgNamespace or any other of the wg-globals here. | ||
return | return (( thumb.width < 250 && thumb.height < 250 | ||
&& (thumb.width < full_img.width || thumb.height < full_img.height) | && (thumb.width < full_img.width || thumb.height < full_img.height) | ||
) | ) |