$out = wfElement( 'form', array( 'method' => 'post', 'action' => $self->getLocalUrl() ) );
# Group drop-down list
- $out .= wfElement( 'label', array( 'for' => 'group' ), wfMsg( 'groups-editgroup-name' ) ) . ' ';
+ $out .= wfElement( 'label', array( 'for' => 'group' ), wfMsg( 'group' ) ) . ' ';
$out .= wfOpenElement( 'select', array( 'name' => 'group' ) );
- $out .= wfElement( 'option', array( 'value' => '' ), '(' . wfMsg( 'groupsall' ) . ')' ); # Item for "all groups"
+ $out .= wfElement( 'option', array( 'value' => '' ), wfMsg( 'group-all' ) ); # Item for "all groups"
$groups = User::getAllGroups();
foreach( $groups as $group ) {
$attribs = array( 'value' => $group );
'ListUsersPage::formatResult' );
$groups = array();
while( $row = $dbr->fetchObject( $result ) ) {
- $groups[] = User::getGroupName( $row->ug_group );
+ $groups[] = User::getGroupMember( $row->ug_group );
}
$dbr->freeResult( $result );
'default' => 'default',
'files' => 'Files',
-# User levels special page
-#
-
-# switching pan
-'groups-lookup-group' => 'Manage group rights',
-'groups-group-edit' => 'Existing groups:',
-'editgroup' => 'Edit Group',
-'addgroup' => 'Add Group',
-
+# User rights
'userrights-lookup-user' => 'Manage user groups',
'userrights-user-editname' => 'Enter a username:',
'editusergroup' => 'Edit User Groups',
-# group editing
-'groups-editgroup' => 'Edit group',
-'groups-addgroup' => 'Add group',
-'groups-editgroup-preamble' => 'If the name or description starts with a colon, the
-remainder will be treated as a message name, and hence the text will be localised
-using the MediaWiki namespace',
-'groups-editgroup-name' => 'Group name:',
-'groups-editgroup-description' => 'Group description (max 255 characters):<br />',
-'savegroup' => 'Save Group',
-'groups-tableheader' => 'ID || Name || Description || Rights',
-'groups-existing' => 'Existing groups',
-'groups-noname' => 'Please specify a valid group name',
-'groups-already-exists' => 'A group of that name already exists',
-'addgrouplogentry' => 'Added group $2',
-'changegrouplogentry' => 'Changed group $2',
-'renamegrouplogentry' => 'Renamed group $2 to $3',
-
-# user groups editing
-#
'userrights-editusergroup' => 'Edit user groups',
'saveusergroups' => 'Save User Groups',
'userrights-groupsmember' => 'Member of:',
Unselected groups will not be changed. You can deselect a group with CTRL + Left Click',
'userrights-logcomment' => 'Changed group membership from $1 to $2',
-# Default group names and descriptions
-#
-'group-anon-name' => 'Anonymous',
-'group-anon-desc' => 'Anonymous users',
-'group-loggedin-name' => 'User',
-'group-loggedin-desc' => 'General logged in users',
-'group-admin-name' => 'Administrator',
-'group-admin-desc' => 'Trusted users able to block users and delete articles',
-'group-bureaucrat-name' => 'Bureaucrat',
-'group-bureaucrat-desc' => 'The bureaucrat group is able to make sysops',
-'group-steward-name' => 'Steward',
-'group-steward-desc' => 'Full access',
+# Groups
+'group' => 'Group:',
+'group-bot' => 'Bots',
+'group-sysop' => 'Sysops',
+'group-bureaucrat' => 'Bureaucrats',
+'group-steward' => 'Stewards',
+'group-all' => '(all)',
+
+'group-bot-member' => 'Bot',
+'group-sysop-member' => 'Sysop',
+'group-bureaucrat-member' => 'Bureaucrat',
+'group-steward-member' => 'Steward',
# Recent changes
and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
make it easier to pick out.
-<p>If you want to remove the page from your watchlist later, click \"Unwatch\" in the sidebar.",
+If you want to remove the page from your watchlist later, click \"Unwatch\" in the sidebar.",
'removedwatch' => 'Removed from watchlist',
'removedwatchtext' => "The page \"[[:$1]]\" has been removed from your watchlist.",
'watch' => 'Watch',
'watchlistall1' => 'all',
'watchlistall2' => 'all',
'namespacesall' => 'all',
-'groupsall' => 'all',
# E-mail address confirmation
'confirmemail' => 'Confirm E-mail address',
# Separator for categories in page lists
'catseparator' => '|',
-
);