Last modified: 2009-07-12 12:10: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 T19809, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17809 - API should have method to return number in user group
API should have method to return number in user group
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-05 22:18 UTC by MZMcBride
Modified: 2009-07-12 12:10 UTC (History)
4 users (show)

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


Attachments

Description MZMcBride 2009-03-05 22:18:25 UTC
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.
Comment 1 Roan Kattouw 2009-03-06 14:02:56 UTC
While of course this number should be available for every group, the number of sysops is already available through siprop=statistics.
Comment 2 Bryan Tong Minh 2009-07-12 12:10:45 UTC
Fixed in r53131.

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


Navigation
Links