Podręcznik:$wgImplicitGroups

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgImplicitGroups and the translation is 25% complete.
Other languages:
English • ‎magyar • ‎polski • ‎Ελληνικά • ‎русский • ‎日本語
User Access: $wgImplicitGroups
Groups that aren't shown on Special:Listusers or somewhere else
Wprowadzono w wersji:1.12.0 (r28797)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(Array of group names.)
Domyślna wartość:[ '*', 'user', 'autoconfirmed' ] (MediaWiki 1.13+)
array( '*', 'user', 'autoconfirmed', 'emailconfirmed' ); (MediaWiki 1.12)

Szczegóły

$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

// 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

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

Zobacz też