https://bugzilla.wikimedia.org/show_bug.cgi?id=29938
Reedy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.17.0 |unspecified --- Comment #2 from Reedy <[email protected]> 2011-07-18 15:53:47 UTC --- if ( !isset( $data[$name]['rights'] ) ) { $data[$name]['rights'] = User::getGroupPermissions( User::getImplicitGroups() ); } On my dev wiki... User::getImplicitGroups() returns array 0 => string '*' (length=1) 1 => string 'user' (length=4) 2 => string 'autoconfirmed' (length=13) And the same on enwiki reedy@fenari:/home/wikipedia/common/php-1.17/maintenance$ php eval.php --wiki=enwiki > var_dump( User::getImplicitGroups() ); array(3) { [0]=> string(1) "*" [1]=> string(4) "user" [2]=> string(13) "autoconfirmed" } > Hell, it's hardcoded in DefaultSettings /** * Implicit groups, aren't shown on Special:Listusers or somewhere else */ $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' ); > $user = User::newFromName( 'Reedy' ); > var_dump( $user->getEffectiveGroups() ); array(5) { [0]=> string(11) "abusefilter" [1]=> string(5) "sysop" [2]=> string(1) "*" [3]=> string(4) "user" [4]=> string(13) "autoconfirmed" } > $user = User::newFromName( 'Futbol_vic' ); > var_dump( $user->getEffectiveGroups() ); array(2) { [0]=> string(1) "*" [1]=> string(4) "user" } > -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
