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
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.7.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 FiveUpgrade.inc like follows:

Index: FiveUpgrade.inc
===================================================================
--- FiveUpgrade.inc     (révision 15240)
+++ FiveUpgrade.inc     (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.


Navigation
Links