Project

General

Profile

Actions

Task #3153

closed

Install NativeSvgHandler extension for MediaWiki

Added by Beluga Beluga about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

100%

Tags:

Description

https://www.mediawiki.org/wiki/Extension:NativeSvgHandler

It would be cool to serve our SVG assets embedded in wiki articles. Currently MW renders a PNG preview of them and it was discovered that the rendering was horribly wrong in the case of a syntax diagram for Basic.

Actions #1

Updated by Guilhem Moulin about 4 years ago

Can you share the page so I can compare before/after? Also we switched renderer earlier this year, perhaps the PNG was rendered using the old — incomplete — one (imagemagick)?

Actions #2

Updated by Beluga Beluga about 4 years ago

Example of badness: https://wiki.documentfoundation.org/File:Argument_fragment.svg
File uploaded yesterday. Presumable bad because it includes inline style sheet, possibly other factors. SVG itself looks perfect in Firefox.

Actions #3

Updated by Guilhem Moulin about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Done. CC'ing Franklin Weng who reported the SVG that wasn't rendered properly by imagemagick, namely https://wiki.documentfoundation.org/File:1020_releases_greyscale_framed_zh_TW.svg .

Thanks for the link, I wasn't aware of this extension :-) (Looks new and incompatible with the previous LTS.)

Actions

Also available in: Atom PDF