Last modified: 2011-04-14 15:14:26 UTC
User groups for Special:ListUsers should be fetched using User::getEffectiveGroups rather than performing the query itself, in order to give hooks that change groups the ability to do so.
From User::getEffectiveGroups: * Get the list of implicit group memberships this user has. * This includes all explicit groups, plus 'user' if logged in, * '*' for all accounts and autopromoted groups This is wrong as the list would depends on the group membership(s) of the requesting user. Maybe User::getAllGroups needs a hook call instead.