Manual:$wgNonincludableNamespaces

From MediaWiki.org
Jump to: navigation, search

Other languages:
English 100% • ‎español 12% • ‎français 0% • ‎日本語 100% • ‎polski 0% • ‎português do Brasil 12% • ‎русский 12%
Access: $wgNonincludableNamespaces
Use this to deny inclusion of pages from specific namespaces.
Introduced in version: 1.10.0 (r19934)
Removed in version: still in use
Allowed values: array of numeric namespace ids
Default value: empty array

Other settings: Alphabetical | By Function

Details[edit | edit source]

Pages in namespaces in this array can not be used as templates. Elements must be numeric namespace ids. Among other things, this may be useful to enforce read-restrictions that may otherwise be bypassed by using the template mechanism.

$wgNonincludableNamespaces[] = 102;