Manual:$wgRestrictionTypes/ru

From Linux Web Expert

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

См. также