Jump to content

Manual:$wgNonincludableNamespaces

From mediawiki.org
This page is a translated version of the page Manual:$wgNonincludableNamespaces and the translation is 38% complete.
Acceso: $wgNonincludableNamespaces
Use this to deny inclusion of pages from specific namespaces.
Introducido en la versión:1.10.0 (r19934)
Eliminado en la versión:aún se usa
Valores permitidos:(array of numeric namespace IDs or namespace constants)
Valor predeterminado:[]

Detalles

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;