Manual:$wgGroupsRemoveFromSelf/yo

This page is a translated version of the page Manual:$wgGroupsRemoveFromSelf and the translation is 7% complete.
User rights, access control and monitoring: $wgGroupsRemoveFromSelf
Use this to allow users to remove themselves from specified groups via Special:Userrights.
Introduced in version:1.12.0 (r29765)
Removed in version:Still in use
Allowed values:(array)
Default value:[]

Details

$wgGroupsRemoveFromSelf allow users to remove their own user rights.

MediaWiki version:
1.14

The syntax since 1.14 is:

$wgGroupsRemoveFromSelf['sysop'][] = 'bot'; // adminstrators can remove themselves from the bot group: $wgGroupsRemoveFromSelf['sysop'] = array( 'bot' );
MediaWiki versions:
1.12 – 1.13

The syntax of MW 1.12 - 1.13 is:

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

Changes in 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. Sintasi tuntun jẹ $wgGroupsRemoveFromSelf['group1'] = array( 'group2', 'group3' ); eyiti ngbanilaaye olumulo eyikeyi ninu ẹgbẹ “ẹgbẹ1” lati yọ awọn ẹgbẹ “group2” ati “ẹgbẹ3” kuro ni ara wọn. 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.

See also