svg has not nativ support in all browsers, please use pngs. Thanks.
https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-betafeatures shows non-loaded images on IE8
Version: unspecified
Severity: enhancement
svg has not nativ support in all browsers, please use pngs. Thanks.
https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-betafeatures shows non-loaded images on IE8
Version: unspecified
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Jdforrester-WMF | T58729 BetaFeatures: Use a LESS mixin to provide PNG icons as a fallback for older browsers | |||
Resolved | Jdforrester-WMF | T58502 BetaFeatures: Convert to LESS, tear out SCSS comments |
Basically the way to support this is to use a LESS mixin to provide them conditionally.
.background-image-svg(@SVG, @fallback) exists, but that only works for background-images over css, here a <img> is used.
Switching those <img>s to something more semantically correct would enable using the background-image, that should be pretty straightforward.
Change 123348 had a related patch set uploaded by Jforrester:
Switch from CSS to LESS and use MediaWiki's SVG fallback LESS function
Change 123348 merged by jenkins-bot:
Switch from CSS to LESS and use MediaWiki's SVG fallback LESS function