Hi,
I just noticed that if you use the "redirect" option with the "action=query&prop=imageinfo" API, it does provide a <redirects> element as expected, but there's no image info? You need to do a new query with the redirected image name to retrieve it.
I think this is different behavior from "redirect" in the other APIs, where it provides the info with the redirect at the same time.
Is this a bug or expected?
http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&titles=File:Liberia%20court%20of%20arms.png&iiprop=timestamp%7Curl%7Csize%7Cdimensions%7Cmime%7Cmetadata&redirects&format=xmlfm&iiurlwidth=128&iiurlheight=128<?xml version="1.0"?>
<api>
<query>
<redirects>
<r from="File:Liberia court of arms.png" to="File:Coat of arms of Liberia.png" />
</redirects>
<pages>
<page pageid="23044582" ns="6" title="File:Coat of arms of Liberia.png" imagerepository="" />
</pages>
</query>
</api>
________________________________
Pierre-Olivier Latour