* (bug 6523) Fix SVG issue in rebuildImages.php
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 3 Jul 2006 17:24:08 +0000 (17:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 3 Jul 2006 17:24:08 +0000 (17:24 +0000)
patch from http://bugzilla.wikimedia.org/show_bug.cgi?id=6523

RELEASE-NOTES
maintenance/FiveUpgrade.inc

index e3e4e64..f214495 100644 (file)
@@ -636,6 +636,8 @@ Some default configuration options have changed:
 * Add "searchsubtitleinvalid" message for searches that are not valid titles.
 * (bug 5962) Update to Italian localisation
 * (bug 6530) Update to Indonesian localisation (id) #25
+* (bug 6523) Fix SVG issue in rebuildImages.php
+
 
 == Compatibility ==
 
index 8f172c9..7caf681 100644 (file)
@@ -716,7 +716,7 @@ END;
                # Height and width
                $gis = false;
                if( $mime == 'image/svg' ) {
-                       $gis = wfGetSVGsize( $this->imagePath );
+                       $gis = wfGetSVGsize( $filename );
                } elseif( $magic->isPHPImageType( $mime ) ) {
                        $gis = getimagesize( $filename );
                } else {