Manual:$wgNamespaceProtection

From MediaWiki.org

Jump to: navigation, search
Namespaces: $wgNamespaceProtection
Which namespaces can be edited by whom?
Introduced in version: 1.10.0 (r19110)
Removed in version: still in use
Allowed Values: array of arrays
Default Value: $wgNamespaceProtection[NS_MEDIAWIKI] = array( 'editinterface' );

Other settings: Alphabetical | By Function


[edit] Details

This setting allows a wiki to require special permissions to edit some namespaces. By default, the only restriction is that the MediaWiki namespace can only be edited by users with the 'editinterface' permission (by default: sysops).

The keys of the array are namespace numbers, and the values are simple arrays of permission names. If you list more than one permission for a given namespace, a user must have all of them to edit pages in that namespace.

[edit] See Also

Personal tools