Last modified: 2012-11-22 23:06:07 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 T33720, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31720 - svg doesn't render as current version - but it does if it is just a archive version
svg doesn't render as current version - but it does if it is just a archive v...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 31719
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-15 02:20 UTC by Saibo
Modified: 2012-11-22 23:06 UTC (History)
4 users (show)

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


Attachments

Description Saibo 2011-10-15 02:20:10 UTC
http://commons.wikimedia.org/wiki/File:Toll_Texas_1.svg  The first (oldest) version doesn't render if it is the current version - but it does if it is just a archive version with another version being the current version.
Comment 1 Brion Vibber 2011-10-16 18:08:52 UTC
Seems ok reuploaded here: https://test.wikipedia.org/wiki/File:Toll-test.svg
Comment 2 Saibo 2011-10-17 17:22:58 UTC
You did upload another version (whichever) - yes it did render at testwiki. But:  I have uploaded the first (oldest) version now and it doesn't render. Like in Commons. 
Different to Commons is: The old version renders if it is not the current version: https://upload.wikimedia.org/wikipedia/commons/thumb/archive/a/a2/20111014162523!Toll_Texas_1.svg/127px-Toll_Texas_1.svg.png
Comment 3 Bawolff (Brian Wolff) 2011-10-18 13:29:53 UTC
I could have sworn i just made a post here.

Basically, its due to our svg reader not substituting entity references in the xmlns attribute (probably upstream issue with the xml lib we use). svg reader can't find width and height, takes it to be 0, lack of rendering occours.
Comment 4 Bawolff (Brian Wolff) 2011-10-18 13:34:45 UTC
(In reply to comment #3)
> I could have sworn i just made a post here.
> 
> Basically, its due to our svg reader not substituting entity references in the
> xmlns attribute (probably upstream issue with the xml lib we use). svg reader
> can't find width and height, takes it to be 0, lack of rendering occours.

oh wait, that was bug 31719. I would guess same bug combined with caching the image metadata so the oldest thumb isn't broken yet.
Comment 5 Bawolff (Brian Wolff) 2012-11-22 23:06:07 UTC
This is now fixed. All the caches have went away

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


Navigation
Links