https://bugzilla.wikimedia.org/show_bug.cgi?id=27544

           Summary: SVG images that are invalid XML no longer render
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: bryan.tongm...@gmail.com
                CC: bryan.tongm...@gmail.com, hart...@videolan.org


As of r75968, SVG images that are invalid XML no longer render. Previously
those images where allowed by MediaWiki and it appears that rsvg happily
accepts them. 

I agree that we should not accept SVG images which are not valid XML, however I
am not convinced that breaking images which used to render fine is a good
approach. 

People in #wikimedia-commons suggest that a few hundreds of SVGs on Commons are
broken. My analysis on a random set suggests that less than 0.1% of the SVG
images in use on Wikimedia is affected. (Checked a random set of 1000 images,
found none)

The question is whether we should fall back to the old behavior if the file
does not pass the new file checks, or whether we should just refuse rendering
them.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to