Manual:$wgAutopromoteOnce/ru

Category:MediaWiki configuration settings/ru#AutopromoteOnceCategory:MediaWiki configuration settings introduced in version 1.18.0/ru#AutopromoteOnceCategory:MediaWiki configuration settings still in use/ru#AutopromoteOnceCategory:Permission variables/ru#AutopromoteOnce
Доступ: $wgAutopromoteOnce
Conditions of automatic promotion of user to specific groups that are done only once.
Введено в версии:1.18.0 (r90755)
Удалено в версии:всё ещё используется
Допустимые значения:(array)
Значение по умолчанию:see below

Details

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:
1.25
[
	'onEdit' => [],
]
Версии MediaWiki:
1.18 1.24
array(
	'onEdit' => array(),
	'onView' => array()
)

См. также

Category:MediaWiki configuration settings/ru Category:MediaWiki configuration settings introduced in version 1.18.0/ru Category:MediaWiki configuration settings still in use/ru Category:Permission variables/ru