https://bugzilla.wikimedia.org/show_bug.cgi?id=23750

           Summary: &redirects doesn't work properly with prop=imageinfo
           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]


Per mailing list post:


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>


http://en.wikipedia.org/w/api.php?action=query&prop=imageinfo&titles=File:Coat%20of%20arms%20of%20Liberia.png&iiprop=timestamp%7Curl%7Csize%7Cdimensions%7Cmime%7Cmetadata&redirects&format=xmlfm&iiurlwidth=128&iiurlheight=128

<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="23044582" ns="6" title="File:Coat of arms of Liberia.png"
imagerepository="local">
        <imageinfo>
          <ii timestamp="2009-06-01T14:04:00Z" size="14121" width="200"
height="211"
thumburl="http://upload.wikimedia.org/wikipedia/en/thumb/1/12/Coat_of_arms_of_Liberia.png/121px-Coat_of_arms_of_Liberia.png";
thumbwidth="121" thumbheight="128"
url="http://upload.wikimedia.org/wikipedia/en/1/12/Coat_of_arms_of_Liberia.png";
descriptionurl="http://en.wikipedia.org/wiki/File:Coat_of_arms_of_Liberia.png";
metadata="" mime="image/png" />
        </imageinfo>
      </page>
    </pages>
  </query>
</api>

-- 
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

Reply via email to