Manual:$wgNonincludableNamespaces/it
Appearance
Access: $wgNonincludableNamespaces | |
---|---|
Use this to deny inclusion of pages from specific namespaces. |
|
Introdotto nella versione: | 1.10.0 (r19934) |
Rimosso nella versione: | Still in use |
Valori concessi: | (array of numeric namespace IDs or namespace constants) |
Valore predefinito: | [] |
Impostazioni: Alfabetiche | Per funzione |
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;