Last modified: 2012-04-16 09:16:08 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 T29675, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27675 - Requesting list=allusers with a limit duplicates the last result
Requesting list=allusers with a limit duplicates the last result
Status: RESOLVED DUPLICATE of bug 26560
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
http://de.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 10:28 UTC by merl
Modified: 2012-04-16 09:16 UTC (History)
5 users (show)

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


Attachments

Description merl 2011-02-24 10:28:21 UTC
If you request list=allusers with a limit lower than the expected result count the last entry of the partial list is returned twice.

The limit can be the default limit or set by aulimit:
http://de.wikipedia.org/w/api.php?action=query&list=allusers&augroup=bot&aulimit=1

<query>
 <allusers>
  <u name=".snoopybot." userid="425305" />
  <u name=".snoopybot." userid="425305" />
 </allusers>
</query>
<query-continue>
 <allusers aufrom="08-15-Bot" />
</query-continue>

Of the limit is higher than the result count the server response is ok:
http://de.wikipedia.org/w/api.php?action=query&list=allusers&augroup=bot&aulimit=400

This bug caused some wrong output of my bot on wikipedia today. On the last run on Februray 4th with MW 1.16 installed this was working correct.
Comment 1 Krinkle 2011-02-24 10:56:52 UTC
Already reported as bug 26560.

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

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


Navigation
Links