Manual:$wgImplicitGroups

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎Ελληνικά • ‎русский • ‎日本語
User Access: $wgImplicitGroups
Groups that aren't shown on Special:Listusers or somewhere else
Introduced in version:1.12.0 (r28797)
Removed in version:still in use
Allowed values:Array of group names.
Default value:array( '*', 'user', 'autoconfirmed' ); array( '*', 'user', 'autoconfirmed', 'emailconfirmed' ); (MediaWiki 1.12)
Other settings: Alphabetical | By function

Details[edit]

$wgImplicitGroups is an array of groups that aren't shown in Special:Listusers and on a few other places. Note that they can't be assigned through Special:Userrights.

Syntax example[edit]

// defining a set of user groups which should not be shown
$wgImplicitGroups = array('*', 'user', 'autoconfirmed', 'emailconfirmed', 'sysop', 'bureaucrat', 'bot');
// adding a single user group to an existing set
$wgImplicitGroups[] = 'bot';

Note[edit]

It would hide only group names in the menu, not the users themselves.

See also[edit]