Manual:$wgRemoveGroups

From MediaWiki.org
Jump to: navigation, search
User Access: $wgRemoveGroups
Controls who can remove specifics groups using Special:Userrights.
Introduced in version: 1.11.0
Removed in version: still in use
Allowed values: array
Default value: array()

Other settings: Alphabetical | By Function


[edit] Details

If a group can remove any right (example: bureaucrats can remove any right):

$wgRemoveGroups['bureaucrat'] = true;

If a group remove only some rights (example: bureaucrats can remove only sysop and bot groups):

$wgRemoveGroups['bureaucrat'] = array( 'sysop', 'bot' );
MediaWiki version: 1.12


Note that groups which may only grant some rights (like bureaucrats in this example) need to have set userrights privilege to false, otherwise they will still be able to remove all groups.

[edit] See also

Language: English  • 日本語 • Polski • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox