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

           Summary: Requesting list=allusers with a limit duplicates the
                    last result
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
               URL: http://de.wikipedia.org/w/api.php?action=query&list=al
                    lusers
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: bugrepor...@to.mabomuja.de
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to