Page MenuHomePhabricator

SVG thumbnails should not be rasterized
Closed, DuplicatePublic

Description

Author: andybaumgar

Description:
SVG is supported in most modern browsers. The rasterization method used for svg's in mediawiki is unnecessary and lower quality that simply scaling the svg size.

Please add support for native svg and thumbnails.


Version: unspecified
Severity: normal

Details

Reference
bz38508

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:49 AM
bzimport set Reference to bz38508.
bzimport added a subscriber: Unknown Object (MLST).

M8R-udfkkf wrote:

There are certain security considerations that have to be taken into account such as what to do with <image> tags pointing to external images.

andybaumgar wrote:

Hi, I agree there could be security risks. Maybe native svg could be added as an option with a warning like raw HTML. This way users with internal wiki's not as concerned with security could take advantage of browser svg rendering while svg security catches up.

(In reply to comment #2)

Hi, I agree there could be security risks. Maybe native svg could be added as
an option with a warning like raw HTML. This way users with internal wiki's
not as concerned with security could take advantage of browser svg rendering
while svg security catches up.

I imagine if we did this, we would address the security issues first (Well they do exist, they're not exactly impossible to deal with). I imagine its mostly public wikis who would want this feature. More pressing concerns is having fallbacks for browsers that don't support it, how different browsers render svgs differently, etc.

  • This bug has been marked as a duplicate of bug 3593 ***
Gilles triaged this task as Unbreak Now! priority.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 4 2014, 11:23 AM