Last modified: 2010-05-15 16:03:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13718 - categorymembers does not give the next member with cmcontinue
categorymembers does not give the next member with cmcontinue
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://de.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-12 18:49 UTC by Adrian Lang
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

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


Attachments

Description Adrian Lang 2008-04-12 18:49:52 UTC
I'm moving through the files in Category:NowCommons at german wikipedia in the order of categorization. 

to get an overview over the oldest files: http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:NowCommons&cmsort=timestamp&cmdir=asc&cmlimit=10&cmprop=title&cmnamespace=6 

the first file is obtained by http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:NowCommons&cmsort=timestamp&cmdir=asc&cmlimit=1&cmprop=title&cmnamespace=6, it is "Postmeilensaeule Zwoenitz.jpg". the cmcontinue token is "PMSOberwiesenthal 2.jpg|". therefore, http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:NowCommons&cmsort=timestamp&cmdir=asc&cmlimit=1&cmprop=title&cmnamespace=6&cmcontinue=PMSOberwiesenthal 2.jpg| should give the next file. Yet, it is the same result as the first query without cmcontinue.
Comment 1 CBM 2008-04-12 18:52:25 UTC
The URL above doesn't work, but this one works (for me at least) to illustrate the problem:

http://de.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:NowCommons&cmsort=timestamp&cmdir=asc&cmlimit=1&cmprop=title&cmnamespace=6&cmcontinue=PMSOberwiesenthal%202.jpg|

The continue parameter returned is identical to the one used in the request. 
Comment 2 Bryan Tong Minh 2008-04-12 18:53:48 UTC
Might be the same bug as described on <http://lists.wikimedia.org/pipermail/mediawiki-api/2008-February/000365.html>.
Comment 3 Bryan Tong Minh 2008-04-13 19:18:11 UTC
Fixed in r33256.

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


Navigation
Links