Last modified: 2010-06-08 12:46:34 UTC
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>
Fixed in r67616
Thanks much for fixing this fast. When is the new API pushed to the servers?