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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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