Last modified: 2010-06-08 12:51:36 UTC
Original image is http://en.wikipedia.org/wiki/File:IBooks_logo.png which is 49x50 pixels. Here's a request for a thumbnail that fits in 600x600: http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&titles=File:IBooks_logo.png&iiprop=timestamp%7Curl%7Csize%7Cdimensions%7Cmime%7Cmetadata&redirects&format=xmlfm&iiurlwidth=600&iiurlheight=600 And the relevant portion of the returned XML: <imageinfo> <ii timestamp="2010-04-21T21:55:46Z" size="5111" width="49" height="50" thumburl="http://upload.wikimedia.org/wikipedia/en/4/4d/IBooks_logo.png" thumbwidth="588" thumbheight="600" url="http://upload.wikimedia.org/wikipedia/en/4/4d/IBooks_logo.png" descriptionurl="http://en.wikipedia.org/wiki/File:IBooks_logo.png" metadata="" mime="image/png" /> </imageinfo> Since the image is smaller than the requested thumbnail, the API correctly returns the original file instead of a scaled up version, but "thumbwidth" and "thumbheight" are wrong.
Fixed in r67611
Thanks much for fixing this fast. When is the new API pushed to the servers?
To save duplicating responses, I'll just reply here. It's usually as and when. If it's a bug fix, it'll usually be higher priority, but if you *really* need these things, poking a sysadmin might give some results
These 2 issues are not urgent, but I'd certainly like to see them fixed in the next couple weeks. Are there regular server updates like once a week or once a month, or do I have to ask a sysadmin? If the later, could you provide pointers? Thanks.