Manual:$wgRestrictionTypes

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>: $wgRestrictionTypes
Actions that can be restricted
<translate> Introduced in version:</translate>1.6.0 (r12207)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array of strings)
<translate> Default value:</translate>[ 'create', 'edit', 'move', 'upload' ] (1.17+)
array( 'edit', 'move' ) (1.6-1.16)

Details

This array contains the actions that can be restricted, that is, made unavailable to classes of users via protection (using action=protect).

These labels are translated through restriction-* messages.

It is possible to add additional actions which can't be restricted by default, for instance delete and protect itself.

See also