If you just need quick and dirty clientside SVG rendering, try this extension:
https://www.mediawiki.org/wiki/Extension:NativeSvgHandler
Even if you don't have any other SVG renderer enabled, it pipes the output through your browser's SVG renderer as a middleman, which, unless you have a browser that belongs in a museum, will work fine 100% of the time.
Date: Thu, 5 Feb 2015 05:04:16 +1000 From: brentonhorne77@gmail.com To: mediawiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Inkscape for SVG thumbnailing
Hi,
I'd like to know how I can use Inkscape for SVG thumbnailing on my Windows 7 OS with a MediaWiki installation. Inkscape's files are located at C:\Program Files (x86)\Inkscape. My efforts to date (mostly based on Manual:$wgSVGConverters and other MediaWiki manual pages) have failed. Currently my LocalSettings.php file's SVG-related settings are:
# Image Converter
$wgSVGConverter = 'Inkscape'; $wgSVGConverters = array( 'Inkscape' => '"$path/inkscape.exe" -z -w $width -f $input -e $output', ); # Image converter path $wgSVGConverterPath = '/Program Files (x86)/Inkscape';
This gives the following error (which appears in the thumbnail's place):
Error creating thumbnail: '""' is not recognized as an internal or external command, operable program or batch file.
The reason I'd like Inkscape as my SVG thumbnailer in particular is because I sometimes use SVGs that are only correctly rendered by Inkscape (I know that Wikia's thumbnailer (whatever it might be) frequently makes rendering errors with these SVGs, e.g., see http://health-and-medicine.wikia.com/wiki/File:Symptoms_of_Hodgkin_lymphoma.... and all the black spots that appear in it.
Thanks for your time, Brenton _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l