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
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 brentonhorne77@gmail.com 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
librsvg didn't work. I've installed it via cygwin (I'm running Windows 7 64 bit). I even directed MediaWiki (via $wgSVGConverterPath = 'C:\cygwin64\usr\include\librsvg-2.0\librsvg';) towards the directory where it is installed. Any other ideas?
On 31/01/2015 5:11 AM, Brion Vibber wrote:
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 brentonhorne77@gmail.com 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
mediawiki-l@lists.wikimedia.org