Last modified: 2008-12-11 22:47:46 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 T18594, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16594 - list=allusers doesn't list users with invalid names
list=allusers doesn't list users with invalid names
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-09 00:37 UTC by Dan Collins
Modified: 2008-12-11 22:47 UTC (History)
4 users (show)

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


Attachments

Description Dan Collins 2008-12-09 00:37:48 UTC
list=allusers&aulimit=n seems to have an off by one error somewhere. Loading the linked url will provide one with two usernames, rather than three. The same will occur on fr.wiki and de.wiki. es.wiki, eo.wiki, zh.wiki are all unaffected. Setting the aufrom= parameter will fix the problem for wikis that do suffer from this bug, same with augroup= or auprefix=. Adding auprop=editcount will not fix the problem. I was unable to reproduce this on my local wiki, neither with current svn or current scapped version
Comment 1 Nakon 2008-12-09 02:44:20 UTC
http://en.wikipedia.org/wiki/Special:ListUsers shows a user with a bad name as the first result which is not shown in the api.  
Comment 2 Roan Kattouw 2008-12-09 13:33:59 UTC
(In reply to comment #1)
> http://en.wikipedia.org/wiki/Special:ListUsers shows a user with a bad name as
> the first result which is not shown in the api.  
> 

Tweaking summary accordingly.
Comment 3 Roan Kattouw 2008-12-11 21:51:32 UTC
The problem seems to be more subtle than I thought. The user in question, [[User:]], is dropped not because his name is invalid (which it is), but because is user name is empty and at the beginning of the list. I can't reproduce this problem locally, so I *attempted* to fix it in r44472. If that revision doesn't fix it, please REOPEN.
Comment 4 Brion Vibber 2008-12-11 22:47:46 UTC
I've deleted the bogus record btw.

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


Navigation
Links