Manual:$wgRestrictionTypes/ru
Appearance
| Доступ: $wgRestrictionTypes | |
|---|---|
| Actions that can be restricted |
|
| Введено в версии: | 1.6.0 (r12207) |
| Удалено в версии: | всё ещё используется |
| Допустимые значения: | (array of strings) |
| Значение по умолчанию: | [ '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, 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.