This page is a translated version of the page Manual:$wgGroupsRemoveFromSelf and the translation is 53% complete.
Droits utilisateur, contrôle d'accès et supervision: $wgGroupsRemoveFromSelf
Use this to allow users to remove themselves from specified groups via Special:Userrights.
Introduit dans la version :1.12.0 (r29765)
Retiré dans la version :Encore utilisé
Valeurs autorisées :(tableau)
Valeur par défaut :[]


$wgGroupsRemoveFromSelf allow users to remove their own user rights.

Version de MediaWiki :

La syntaxe depuis 1.14 est :

$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // les administrateurs peuvent se supprimer eux-mêmes du groupe des robots : $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
Versions de MediaWiki :
1.12 – 1.13

La syntaxe dans MW 1.12 - 1.13 est :

$wgGroupsRemoveFromSelf = array( 'group1', 'group2', '...' );

Modifications en 1.14.0

In r39368, the way this variable works was changed. Before, it allowed every user to remove groups from themselves, now it can be filtered on a per-group basis. The new syntax is $wgGroupsRemoveFromSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to remove the groups "group2" and "group3" from themselves. The old syntax will still work, allowing every user to remove groups from themselves, but it is recommended that you use $wgGroupsRemoveFromSelf['user'] = array( 'group1', 'group2' ); instead.

You may use $wgGroupsRemoveFromSelf['group'] = true; to allow users in that group to remove every group from themselves.

Voir aussi