https://bugzilla.wikimedia.org/show_bug.cgi?id=63914
Bug ID: 63914
Summary: SVG images with a specified width should not get
rendered into PNG thumbnails that are bigger
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
http://www.mediawiki.org/w/api.php?action=query&format=json&titles=File:MediaWiki-sysadmins-icon.svg&prop=imageinfo&iiprop=url|size&iiurlwidth=1000
This is just a totally silly return value for this API call. I mean, it makes
sense with SVGs, but SVGs are the only place where this sort of response makes
sense. A PNG test image successfully returns the maximum size, and the URL to
the original image, for a request that goes over the limit:
http://en.wikipedia.org/w/api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&iiend=20071231235959&iiprop=url|size&indexpageids=1&format=json&iiurlwidth=1000
I'm going to fix this issue on our end, but if we could also fix the API so it
doesn't give me a 50,000 pixel wide thumbnail for an SVG when I ask for it that
would be FANTASTIC. (I haven't tried this yet but it seems the logical
conclusion)
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l