Page MenuHomePhabricator

SVG icons in MediaViewer should have a fallback
Closed, DeclinedPublic

Description

MediaWiki supports a background-image-svg mixin to detect browser support and fall back to PNG when SVG backgrounds are not supported; we should make use of that.


Version: REL1_21-branch
Severity: normal

Details

Reference
bz70933

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:49 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz70933.
bzimport added a subscriber: Unknown Object (MLST).
Gilles subscribed.

Might T76473: Implement ResourceLoader module to ship CSS for sets of SVG+PNG icons to the user be relevant? That's going to add SVG->PNG fallback ability inside MW without needing to ship PNG assets, so that the OOUI framework can be used with impunity.

It will be, but only after we fix T72654.

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

Pretty much everything supports SVG icons these days, so this is not worth fixing. If someone does want to fix it nevertheless, then T72654 would be the preferred approach.