Manual:$wgAutopromoteOnce/zh

Category:MediaWiki configuration settings/zh#AutopromoteOnceCategory:MediaWiki configuration settings introduced in version 1.18.0/zh#AutopromoteOnceCategory:MediaWiki configuration settings still in use/zh#AutopromoteOnceCategory:Permission variables/zh#AutopromoteOnce
访问: $wgAutopromoteOnce
Conditions of automatic promotion of user to specific groups that are done only once.
引进版本:1.18.0 (r90755)
移除版本:仍在使用
允许的值:(array)
参见下方

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()
)

See also

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