Manual:$wgNonincludableNamespaces/it
From Linux Web Expert
<translate> Access</translate>: $wgNonincludableNamespaces | |
---|---|
Use this to deny inclusion of pages from specific namespaces. |
|
<translate> Introduced in version:</translate> | 1.10.0 (r19934) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array of numeric namespace IDs or namespace constants) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Dettagli
Pages in namespaces in this array cannot be used as templates. Elements must be numeric namespace IDs or namespace constants. Among other things, this may be useful to enforce read-restrictions that may otherwise be bypassed by using the template mechanism.
$wgNonincludableNamespaces[] = 3000;
o
$wgNonincludableNamespaces[] = NS_CUSTOM;