Manual:$wgRestrictionTypes

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
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: array( 'create', 'edit', 'move', 'upload' )
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 and protect itself.

See also[edit]