Last modified: 2011-02-16 22:37:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29359, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27359 - Files aren't shown well while they did show well before
Files aren't shown well while they did show well before
Status: RESOLVED DUPLICATE of bug 27465
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.17.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-12 12:11 UTC by Romaine
Modified: 2011-02-16 22:37 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Romaine 2011-02-12 12:11:15 UTC
A lot of files, so far I can see mostly svg-files, aren't shown well and give errors. Those files did work before, were shown well before, and are used on many pages. (It seems since the deployment of MediaWikii 1.17 something was changed in the SVG renderer. 

Examples:
http://commons.wikimedia.org/wiki/File:File-manager.svg
http://commons.wikimedia.org/wiki/File:Icon@2x.png
http://commons.wikimedia.org/wiki/File:Sdm.svg
Comment 1 Platonides 2011-02-12 12:24:36 UTC
I doubt File:Icon@2x.png was really showing well before. The image is 805.314.562 × 284.378.236 = 229013934566672632 pixels > 12.5 million pixels.

The two svg have a MIME type of application/xml instead of image/svg+xml (probably because they miss a xmlns:ns namespace). That seems to prevent showint it as a SVG.
Comment 2 Platonides 2011-02-12 12:26:19 UTC
PS: MediaWiki 1.17 wasn't deployed yet to commons (or rather, it was rolled back).
Comment 3 Derk-Jan Hartman 2011-02-12 12:28:21 UTC
1.17 does have a new SVG parser, that could cause for a change in behavior. This parser could reject files, that were not rejected before. It might have been that some of these 'incorrect' files were renderable by librsvg. However the files are broken, and should be fixed (And actually can easily be fixed).

None of the original files display in Safari. If we did show them before, then we were more lenient on SVG correctness then Operating Systems.


The PNG doesn't render either on Mac OS X and is actually uploaded last november on top of a working file. Likely this is just an error in the file as well. The new PNG parser could bring this problem to light I guess, but the file is broken nonetheless.

I personally suggest wontfix for all of these, because they are actually broken files. Commons editors could easily revert or repair them if they want to.
Comment 4 Innocenti Maresin 2011-02-12 16:15:39 UTC
I second this. In such files as http://commons.wikimedia.org/wiki/File:Stock_alarm.svg the parser rejected to process elements of <svg:> namespace. Compare the old (now troublemaking) version at http://upload.wikimedia.org/wikipedia/commons/archive/0/03/20110212161043!Stock_alarm.svg and my recent one, with fixes/workarounds.
Comment 5 Derk-Jan Hartman 2011-02-16 22:37:04 UTC
dupe

*** This bug has been marked as a duplicate of bug 27465 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links