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

       Web browser: ---
            Bug ID: 51342
           Summary: API sends client into indefinite query-loop
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When querying imageinfo 
* for multiple titles
  (When requesting just one title, it uses iistart for query-continuation.)
* with thumburl requested
* for a file with more revisions than the API will output thumburls
the API returns a query-continue that, when used will return the same results
and the same query-continue:

https://commons.wikimedia.org/w/api.php?format=jsonfm&action=query&prop=imageinfo&iiprop=url&titles=File:Susy%20Zerfall%20chi0.svg|File:Samesex%20marriage%20in%20USA.svg&iiurlwidth=120&iilimit=500&iicontinue=Samesex%20marriage%20in%20USA.svg|20110701173547

which gives:
{
    "query-continue": {
        "imageinfo": {
            "iicontinue": "Samesex marriage in USA.svg|20110701173547"
        }
    },
    "query": {
        "pages": {
...



My client picks-up the 
"iicontinue": "Samesex marriage in USA.svg|20110701173547" 
and sends it back to the API.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to