Last modified: 2011-02-08 21:56:20 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 T28558, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26558 - list=allusers auprop=groups does not list groups a user is automatically a member of
list=allusers auprop=groups does not list groups a user is automatically a me...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-04 02:31 UTC by Krinkle
Modified: 2011-02-08 21:56 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2011-01-04 02:31:49 UTC
I'm currently svn updated upto r79552.

The following urls display different results:

* http://localhost/w/api.php?action=query&list=allusers&auprop=groups
* http://localhost/w/api.php?action=query&list=users&usprop=groups&ususers=Root

auprop=groups
* Only lists groups specifically added (ie. bureaucrat & sysop)

      <u name="Root" userid="1">
        <groups>
          <g>bureaucrat</g>
          <g>sysop</g>

usprop=groups
* Lists all groups including * and user etc.

      <user name="Root">
        <groups>
          <g>*</g>
          <g>user</g>
          <g>autoconfirmed</g>
          <g>bureaucrat</g>
          <g>sysop</g>
        </groups>
Comment 1 Sam Reed (reedy) 2011-01-04 03:35:57 UTC
r79554

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


Navigation
Links