https://bugzilla.wikimedia.org/show_bug.cgi?id=23835
Summary: Need "thummime" result in "imageinfo" query
Product: MediaWiki
Version: 1.17-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
The "imageinfo" API provides a "mime" result, but when asking for a thumbnail,
the resulting image might be in a different mime type (e.g. SVG becomes PNG),
so a "thumbmime" result would be quite useful.
Example with a SVG file:
http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&titles=File:IPad_wordmark.svg&iiprop=timestamp%7Curl%7Csize%7Cdimensions%7Cmime%7Cmetadata&redirects&format=xmlfm&iiurlwidth=600&iiurlheight=600
<imageinfo>
<ii timestamp="2010-05-19T10:26:23Z" size="3694" width="225" height="105"
thumburl="http://upload.wikimedia.org/wikipedia/commons/thumb/7/76/IPad_wordmark.svg/600px-IPad_wordmark.svg.png"
thumbwidth="600" thumbheight="280"
url="http://upload.wikimedia.org/wikipedia/commons/7/76/IPad_wordmark.svg"
descriptionurl="http://commons.wikimedia.org/wiki/Image:IPad_wordmark.svg"
metadata="" mime="image/svg+xml" />
</imageinfo>
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l