Jump to content

Manual:$wgRestrictionTypes

From mediawiki.org
Access: $wgRestrictionTypes
Actions that can be restricted
Introduced in version:1.6.0 (r12207)
Removed in version:Still in use
Allowed values:(array of strings)
Default value:[ '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