[Mediawiki-l] Enabling SVG support

Emanuele D'Arrigo manu3d at gmail.com
Fri Aug 17 16:44:22 UTC 2007

I've been banging my head all day to coerce the local
MW installation to handle SVGs (through batik).

Initially there was a problem with the IIS web server
not serving SVG, easily solved setting the correct mime

Now the server seems to be doing the right thing
but MW refuses to show the picture!

Inspecting the resulting html code I found this:

<table class="MediaTransformError" style="width: 180px; height:
185px;"><tr><td>Error creating thumbnail: </td></tr></table>

How can I debug this problem further? Is this something I should bring
up in wikitech-l?

I did add these two lines to LocalSettings.php by the way:

$wgSVGConverter = 'batik';
$wgSVGConverterPath = '$IP/extensions/SVGextension/batik-1.7';

In general I'm surprised there isn't a detailed page on mediawiki.org
that has a complete how-to on how to enable SVG support in a
standard MW installation. Or did I miss it?


More information about the MediaWiki-l mailing list