Index: trunk/phase3/includes/specials/SpecialListgrouprights.php |
— | — | @@ -60,12 +60,23 @@ |
61 | 61 | '</tr>' |
62 | 62 | ); |
63 | 63 | |
64 | | - $allGroups = array_unique( array_merge( array_keys( $wgGroupPermissions ), |
65 | | - array_keys( $wgRevokePermissions ) ) ); |
| 64 | + $allGroups = array_unique( array_merge( |
| 65 | + array_keys( $wgGroupPermissions ), |
| 66 | + array_keys( $wgRevokePermissions ), |
| 67 | + array_keys( $wgAddGroups ), |
| 68 | + array_keys( $wgRemoveGroups ), |
| 69 | + array_keys( $wgGroupsAddToSelf ), |
| 70 | + array_keys( $wgGroupsRemoveFromSelf ) |
| 71 | + ) ); |
| 72 | + asort( $allGroups ); |
| 73 | + |
66 | 74 | foreach ( $allGroups as $group ) { |
67 | | - $permissions = isset( $wgGroupPermissions[$group] ) ? |
68 | | - $wgGroupPermissions[$group] : array(); |
69 | | - $groupname = ( $group == '*' ) ? 'all' : $group; // Replace * with a more descriptive groupname |
| 75 | + $permissions = isset( $wgGroupPermissions[$group] ) |
| 76 | + ? $wgGroupPermissions[$group] |
| 77 | + : array(); |
| 78 | + $groupname = ( $group == '*' ) // Replace * with a more descriptive groupname |
| 79 | + ? 'all' |
| 80 | + : $group; |
70 | 81 | |
71 | 82 | $msg = wfMsg( 'group-' . $groupname ); |
72 | 83 | if ( wfEmptyMsg( 'group-' . $groupname, $msg ) || $msg == '' ) { |