Podręcznik:$wgRestrictionTypes
Appearance
| Dostęp: $wgRestrictionTypes | |
|---|---|
| Actions that can be restricted |
|
| Wprowadzono w wersji: | 1.6.0 (r12207) |
| Usunięto w wersji: | nadal w użyciu |
| Dozwolone wartości: | (array of strings) |
| Domyślna wartość: | [ 'create', 'edit', 'move', 'upload' ] (1.17+)array( 'edit', 'move' ) (1.6-1.16) |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
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.