Manual:$wgAutopromoteOnce

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

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎日本語
Access: $wgAutopromoteOnce
Conditions of automatic promotion of user to specific groups that are done only once.
Introduzida na versão:1.18.0 (r90755)
Removida na versão:ainda em uso
Valores permitidos:(array)
Valor por omissão:see below
Outras configurações: Lista Alfabética | Lista por Função

Detalhes

Does not add the user to the group again if it has been removed. Also, does not remove the group if the user no longer meets the criteria.

The format is array( event => criteria, ... ) where event is 'onEdit' (when user edits) or 'onView' (when user views the wiki) and criteria has the same format as $wgAutopromote .

Default value

MediaWiki version: 1.25
[
	'onEdit' => [],
]
MediaWiki versions: 1.18 – 1.24
array(
	'onEdit' => array(),
	'onView' => array()
)

Ver também