Manual:$wgSVGConverters

Details
Scalable Vector Graphics (SVG) may be uploaded as images.

Since SVG support is not yet standard in browsers (all except Internet Explorer render SVGs, but not very accurately), it is necessary to convert SVG format images to PNG format as a fallback. An external program is required to perform this conversion.

Default value
Exclamation mark ' is a meta character in Unix shells and must be escaped with a backslash. In the code sample above, this can be seen on the second line:
 * line.

On Windows-family operating systems, the exclamation mark is not a meta-character in the shell and does not need to be escaped.

Windows
On Windows, where the executable path may contain spaces, you may need to quote the executable name. For example:

On Windows-family operating systems, the exclamation mark is not a meta-character in the shell and does not need to be escaped.

Vista notes
Bug 20363 - cmd.exe not being executed correctly.

Inside file "GlobalFunctions.php" line 2207 delete the following lines

Quotes were being used around "cmd.exe" to fix a bug in PHP. PHP's bug was fixed, so this hack is not needed. That is what is causing the SVG converters to not work correctly.

Also, Inkscape.exe does not accept command line arguments in the default release. You will need to download inkscapec.exe. Then set the $wgSVGConverters to the following. $wgSVGConverters = array(   'inkscape' => 'inkscapec.exe --file=$input --export-png=$output --export-width=$width --without-gui', );

The inkscapec.exe handles both long and short versions of the commandline.

On Windows-family operating systems, the exclamation mark is not a meta-character in the shell and does not need to be escaped.

Linux
On some Linux installations (e.g. opensuse 10.3) rsvg is renamed: opensuse 10.3 for example:

If the Java executable is not in the path, it must be specified to use batik, or a "Thumbnail creation failed:" message will be displayed. For example:

Note: Exclamation mark ' is a meta character in Unix shells and must be escaped with a backslash.