Last modified: 2006-07-03 17:24:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8523, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6523 - Problem with rebuildImages.php and SVG images
Problem with rebuildImages.php and SVG images
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-07-03 08:43 UTC by Kelson [Emmanuel Engelhart]
Modified: 2006-07-03 17:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Kelson [Emmanuel Engelhart] 2006-07-03 08:43:12 UTC
They always have a width and height of '0'.

I corrected the problem by modifying like follows:

---     (révision 15240)
+++     (copie de travail)

@@ -716,7 +716,7 @@
                # Height and width
                $gis = false;
                if( $mime == 'image/svg' ) {
-                       $gis = wfGetSVGsize( $this->imagePath );
+                       $gis = wfGetSVGsize( $filename );
                } elseif( $magic->isPHPImageType( $mime ) ) {
                        $gis = getimagesize( $filename );
                } else {
Comment 1 Brion Vibber 2006-07-03 17:24:23 UTC
Fixed in r15295.

Note You need to log in before you can comment on or make changes to this bug.