Manual:$wgRestrictionTypes
Appearance
| 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) |
| Other settings: Alphabetical | By function | |
Details
[edit]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, rollback, undelete, bigdelete, and even protect itself.
Even if create is set in this variable, the creation of pages transcluded from a cascade-protected page is not restricted.
There is no way to restrict undeletion but allow creation on an empty page with no live revisions.