Bug ID: 61815
           Summary: API returns duplicate upload information when a file
                    has been redirected
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
       Web browser: ---
   Mobile Platform: ---

Take a look at this URL: Let's run a query asking for both redirect and
imageinfo in the same request. I've provided a query for two different images;
the first one is just a control image. The second one has been moved (log:

Here is the query:|File%3AQuatrefilsd%27Aymon1849-Maugis%20vole%20harlemagne.jpg&prop=imageinfo&redirects=&iiprop=sha1|user

Notice that the page is returning 2 results for the image that was moved,
whereas it should only be returning 1. The second result doesn't have the
pageid, the ns, or the title. 

This may not be a huge problem, because it is already returning the proper
result above. However, my bot throws a fit when it sees an XML element with a
title, because it thinks it's missing out on some data.


You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to