Make size of thumb box for non-existent images consistent with common 180px default...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 16:06:57 +0000 (16:06 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 16:06:57 +0000 (16:06 +0000)
includes/Linker.php

index 1cf5a57..aa51a1f 100644 (file)
@@ -572,10 +572,10 @@ class Linker {
                        $height = $img->getHeight();
                }
                if ( 0 == $width || 0 == $height ) {
-                       $width = $height = 200;
+                       $width = $height = 180;
                }
                if ( $boxwidth == 0 ) {
-                       $boxwidth = 200;
+                       $boxwidth = 180;
                }
                if ( $framed ) {
                        // Use image dimensions, don't scale