It looks like you're defaulting to converting SVGs using ImageMagick, which
can be a bit flaky (and there also seems to be a version mismatch where it
doesn't like the options being given to it.)

If you can, try switching the SVG renderer to rsvg, which is the tool we
use on Wikipedia:

* install 'librsvg' (and if necessary 'librsvg-bin') package on the system;
should be available in standard Linux package managers as it's a library
used by GNOME desktop. Also available through Homebrew on Macs. Not sure
about Windows. :)

* in LocalSettings.php set:

  $wgSVGConverter = 'rsvg';


As for the borders and such, you probably need to copy some CSS styles from
the [[MediaWiki:Common.css]] page from Wikipedia.

-- brion


On Thu, Jan 29, 2015 at 6:34 PM, Brenton Horne <[email protected]>
wrote:

> Hi,
>
> I've noticed that SVG thumbnailing on my new locally-hosted Wiki is
> thumbnailing svgs incorrectly. This is what it appears like atm when
> incorporated into an infobox: http://i.stack.imgur.com/dRWkj.png.
> Likewise I've also noticed there's no enclosing box around infoboxes in my
> Wiki, which you can also see in this image. This is the sort of infobox
> formatting I'd like http://i.stack.imgur.com/aI0Tx.png.
>
> Thanks for your time,
> Brenton
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to