Last modified: 2012-04-30 11:09:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38343, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36343 - Query-continue doesn't work correctly for prop=categories if descending
Query-continue doesn't work correctly for prop=categories if descending
Status: RESOLVED DUPLICATE of bug 26909
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-29 21:45 UTC by Svick
Modified: 2012-04-30 11:09 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Svick 2012-04-29 21:45:12 UTC
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.
Comment 1 Umherirrender 2012-04-30 09:09:06 UTC
Already fixed with Gerrit change #4028, should be part of 1.20wmf2
Comment 2 Svick 2012-04-30 11:09:22 UTC

*** This bug has been marked as a duplicate of bug 26909 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links