Web browser: ---
            Bug ID: 59249
           Summary: External link SVG-icons broken in Wikimedia production
                    due to mime-type confusion
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 14219
Screenshot of problem in production.

As of recently, we have SVG versions of the external link icons in MediaWiki.
These are embedded as base64 encoded data uris by CSSMin in ResourceLoader.

Locally, these are working fine for me. Comes out as:


In production, however, they are broken.


I can consistently reproduce this in Chrome (latest stable). I eliminated other
causes by verifying that it breaks locally if I change the mime type in the CSS
manually, and visa versa by changing it to image/svg+xml in the browser console
when looking at production.

Not sure if this supposed to work according to the spec, but fact is, Chrome
(maybe other browsers as well) does not accept application/xml in data uris for
background images.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to