Manual:$wgImplicitGroups/pl

From Linux Web Expert

Revision as of 15:18, 2 February 2024 by imported>Chrumps (Created page with "== Uwaga ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> User rights, access control and monitoring</translate>: $wgImplicitGroups
Groups that aren't shown on Special:Listusers or somewhere else
<translate> Introduced in version:</translate>1.12.0 (r28797)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(Array of group names.)
<translate> Default value:</translate>[ '*', 'user', 'autoconfirmed' ] (1.13+)
array( '*', 'user', 'autoconfirmed', 'emailconfirmed' ); (1.12)

Szczegóły

$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 through Special:Userrights.

Syntax example

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

Uwaga

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

Zobacz też