Manual:$wgAutopromoteOnce

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Access</translate>: $wgAutopromoteOnce
Conditions of automatic promotion of user to specific groups that are done only once.
<translate> Introduced in version:</translate>1.18.0 (r90755)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>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 version:
<translate> ≥</translate> 1.25
[
	'onEdit' => [],
]
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.24</tvar> is unsupported version</translate>">
1.18 – 1.24
<translate> MediaWiki versions:</translate>
array(
	'onEdit' => array(),
	'onView' => array()
)

See also