Hi everyone,
It appears that since today, the "iiurlwidth" and "iiurlheight" parameters of the query API / imageinfo are ignored and these elements are missing from the returned XML: - thumburl - thumbwidth - thumbheight
The doc still says: iiurlwidth - If iiprop=url is set, a URL to an image scaled to this width will be returned. Only the current version of the image can be scaled Default: -1 iiurlheight - Similar to iiurlwidth. Cannot be used without iiurlwidth Default: -1 I don't remember seeing any "BREAKING CHANGE" email on this list about this: did I miss anything?
In any case, this breaks badly our free Discover app for iPad which had close to 1,000,000 downloads and a ton of enthusiastic users (http://itunes.apple.com/us/app/id384224429?mt=8). Any help on what's happening would be very valuable. Thanks in advance!
PS: Sample API request done by the app and observed result:
http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&titles...
<?xml version="1.0"?> <api> <query> <normalized> <n from="File:Bundesarchiv_Bild_146-2004-0099,_Kaiser_Friedrich_III..jpg" to="File:Bundesarchiv Bild 146-2004-0099, Kaiser Friedrich III..jpg"/> </normalized> <pages> <page ns="6" title="File:Bundesarchiv Bild 146-2004-0099, Kaiser Friedrich III..jpg" missing="" imagerepository="shared"> <imageinfo> <ii timestamp="2008-12-12T22:17:03Z" size="44861" width="553" height="800" url="http://upload.wikimedia.org/wikipedia/commons/7/79/Bundesarchiv_Bild_146-2004-0099%2C_Kaiser_Friedrich_III..jpg" descriptionurl="http://commons.wikimedia.org/wiki/File:Bundesarchiv_Bild_146-2004-0099,_Kaiser_Friedrich_III..jpg" metadata="" mime="image/jpeg"/> </imageinfo> </page> </pages> </query> </api>
-Pierre
________________________________ Pierre-Olivier Latour pol@cooliris.com
2011/2/28 Pierre-Olivier Latour pol@cooliris.com:
I don't remember seeing any "BREAKING CHANGE" email on this list about this: did I miss anything?
No, that was a bug. It's fixed now.
Roan Kattouw (Catrope)
Confirmed fixed on our side. Thanks much!
On Feb 28, 2011, at 1:02 PM, Roan Kattouw wrote:
2011/2/28 Pierre-Olivier Latour pol@cooliris.com:
I don't remember seeing any "BREAKING CHANGE" email on this list about this: did I miss anything?
No, that was a bug. It's fixed now.
Roan Kattouw (Catrope)
-Pierre
________________________________ Pierre-Olivier Latour pol@cooliris.com
mediawiki-api@lists.wikimedia.org