Manual:$wgAutopromoteOnce

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎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.
Introduced in version: 1.18.0 (r90755)
Removed in version: still in use
Allowed values: array
Default value: array( 'onEdit' => array(), 'onView' => array() )
Other settings: Alphabetical | By function

Details[edit]

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 $wgAutopromoteManual:$wgAutopromote.

See also[edit]