Manual:$wgRemoveGroups

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgRemoveGroups and the translation is 30% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎中文 • ‎日本語
User Access: $wgRemoveGroups
Controls who can remove specific groups using Special:Userrights.
Introduzida na versão:1.11.0
Removida na versão:ainda em uso
Valores permitidos:(array)
Valor por omissão:[]
Outras configurações: Lista Alfabética | Lista por Função

Detalhes

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 the userrights privilege set to false, otherwise they will still be able to remove all groups.

You can also define $wgRemoveGroups in a way that does not overwrite an extension's definition:

$wgRemoveGroups['bureaucrat'][] = 'sysop';
$wgRemoveGroups['bureaucrat'][] = 'bot';

Ver também