Page MenuHomePhabricator

Enhancement in MediaWiki's SVG handling
Closed, InvalidPublic

Description

Author: wikimedia

Description:
There are two points:

1* The image description site of an SVG image shows "image/svg" as MIME type. It
should be changed to "image/svg+xml"

2* Scaling and thumbnails with SVG: At the moment, I guess, SVG thumbnails are
created by first rendering and then scaling the rendered image. It would be much
better, and meet SVG's scaling capabilities, if thumbnails would be created by
first manipulating the "viewbox" attribute and width and height of the outermost
svg element and render the picture afterwards.


Version: unspecified
Severity: enhancement
URL: http://commons.wikimedia.org/wiki/Image:-TableImage.svg

Details

Reference
bz7313

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:22 PM
bzimport set Reference to bz7313.
bzimport added a subscriber: Unknown Object (MLST).

Scaling is done by rendering to the specified size. (Unless it's bigger than the defined size, since
the current system refuses to scale up.)