Jump to content

Handbuch:$wgImplicitGroups

From mediawiki.org
This page is a translated version of the page Manual:$wgImplicitGroups and the translation is 50% complete.
Benutzerrechte, Zugriffskontrolle und Überwachung: $wgImplicitGroups
Groups that are not shown on Special:Listusers or somewhere else
Eingeführt in Version:1.12.0 (r28797)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array von Gruppennamen.)
Standardwert:[ '*', 'user', 'autoconfirmed' ] (1.13+)
array( '*', 'user', 'autoconfirmed', 'emailconfirmed' ); (1.12)

Details

$wgImplicitGroups is an array of groups that are not shown in Special:Listusers and on a few other places. Note that they cannot be assigned or revoked through Special:Userrights.

Syntaxbeispiel

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

Anmerkung

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

Siehe auch