Page MenuHomePhabricator

API should have method to return number in user group
Closed, ResolvedPublic

Description

There's currently no way (that I can see) to return the number of people in a group (like sysop) via the API. The wiki has {{NUMBERINGROUP:sysop}}, which has led some to suggest hacks like http://en.wikipedia.org/w/api.php?action=parse&text={{NUMBERINGROUP:sysop}} to pull the data from the API.

meta=siteinfo seems like an appropriate place for something like sinumberingroup=sysop or something.


Version: unspecified
Severity: enhancement

Details

Reference
bz17809

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:35 PM
bzimport set Reference to bz17809.

While of course this number should be available for every group, the number of sysops is already available through siprop=statistics.

Bryan.TongMinh wrote:

Fixed in r53131.