Manual:$wgRestrictionTypes
Appearance
| Acceso: $wgRestrictionTypes | |
|---|---|
| Actions that can be restricted |
|
| Introducido en la versión: | 1.6.0 (r12207) |
| Eliminado en la versión: | aún se usa |
| Valores permitidos: | (Variedad de cuerdas) |
| Valor predeterminado: | [ 'create', 'edit', 'move', 'upload' ] (1.17+)array( 'edit', 'move' ) (1.6-1.16) |
| Otras configuraciones: Alfabéticamente | Por Función | |
Detalles
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.