Manual:$wgGroupsRemoveFromSelf

From MediaWiki.org

Jump to: navigation, search
User Access: $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:
Default Value: See below.

Other settings: Alphabetical | By Function


[edit] Details

$wgGroupsRemoveFromSelf allow users to remove themselves userights without the need to request it from a bureaucrat or steward. The syntax is $wgGroupsRemoveFromSelf = array('group1, group2');.

[edit] Changes in 1.14.0

Warning - v1.14.0 has not been released yet. This feature may be modified or removed before final release.

In r39368, the way this variable works was changed. Before, it allowed every user to remove those 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 add the groups "group2" and "group3" to themselves. The old syntax will still work for 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.

Personal tools