Last modified: 2013-04-19 10:17:45 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 T49367, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47367 - Merge list=allusers and list=users
Merge list=allusers and list=users
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-18 18:16 UTC by Alex Monk
Modified: 2013-04-19 10:17 UTC (History)
4 users (show)

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


Attachments

Description Alex Monk 2013-04-18 18:16:36 UTC
It seems that the list=users and list=allusers have some overlap in functionality and I believe they should be a single module.

I'm not quite sure about this though so I'm going to start this bug as unconfirmed.
Comment 1 Brad Jorsch 2013-04-18 20:20:21 UTC
The real difference is in how the users to be listed are selected: list=users takes an explicit list of usernames, while list=allusers lists all users by default and filters the list using aufrom/auto/auprefix/audir/augroup/auexcludegroup/aurights/aulimit/auwitheditsonly/auactiveusers. It's a little like the difference between using prop=info&titles=... and prop=info&generator=allpages.

They could possibly share a class, much as list=backlinks, list=embeddedin, and list=imageusage all use the same 'ApiQueryBacklinks' class, but I'm not sure how much sense it would be to try to put both a parameter like ususers and parameters like aufrom/auto/auprefix/audir/augroup/auexcludegroup/aurights/aulimit/auwitheditsonly/auactiveusers on the same user-facing module.

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


Navigation
Links