Jump to content

Handbuch:$wgAutopromoteOnce

From mediawiki.org
This page is a translated version of the page Manual:$wgAutopromoteOnce and the translation is 60% complete.
Zugang: $wgAutopromoteOnce
Conditions of automatic promotion of user to specific groups that are done only once.
Eingeführt in Version:1.18.0 (r90755)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:siehe unten

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 .

Standardwert

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

Siehe auch