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

       Web browser: ---
             Bug #: 36343
           Summary: Query-continue doesn't work correctly for
                    prop=categories if descending
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


If I list the categories of some page in ascending order:

https://en.wikipedia.org/w/api.php?format=xml&action=query&titles=Test&prop=categories&cldir=ascending&cllimit=1

I get query-continue that works fine.

But if I use descending order:

https://en.wikipedia.org/w/api.php?format=xml&action=query&titles=Test&prop=categories&cldir=descending&cllimit=1

then the query-continue value doesn't seem to have any effect: I get the same
category as originally and the same query-continue.

I am using limit=1 just to make the query simple, but the same problem shows
also in “real” queries that use generators.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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