Manual:$wgNonincludableNamespaces

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
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]

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;
{"cc_re__cc_re__cc_by_sa_3_0": ["portlet after-portlet-lang\"><span class=\"wb-langlinks-add wb-langlinks-link\"><a href=\"https://www.wikidata.org/wiki/Q22092656#sitelinks-wikipedia\" title=\"Add interlanguage links\" class=\"wbc-editpage\">Add links</a></span></div>\t\t\t</div>\n\t\t</div>\n\t\t\t\t</div>\n\t\t</div>\n\t\t<div id=\"footer\" role=\"contentinfo\">\n\t\t\t\t\t\t\t<ul id=\"footer-info\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-lastmod\"> This page was last edited on 9 May 2017, at 20:31.</li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-info-copyright\">Text is available under the <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\">Creative Commons Attribution-ShareAlike License</a>;\nadditional terms may apply.\nSee <a href=\"https://wikimediafoundation.org/wiki/Terms_of_Use\">Terms of Use</a> for details.</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<ul id=\"footer-places\">\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-privacy\"><a href=\"https://wikimediafoundation.org/wiki/Privacy_policy\" class=\"extiw\" title=\"wmf:Privacy policy\">Privacy policy</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li id=\"footer-places-about\"><a href=\"/wiki/Project:About\" title=\"Project:About\">About MediaWi"], "copyright__copyright__copyright": ["m specific namespaces.\nIntroduced in version: 1.10.0 (r19934)\nRemoved in version: still in use\nAllowed values: array of numeric namespace ids\nDefault value: empty array\nOther settings: Alphabetical | By function\n\nDetails[edit]\n\nPages 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.\n\n$wgNonincludableNamespaces[] = 102;", "m specific namespaces.\nIntroduced in version: 1.10.0 (r19934)\nRemoved in version: still in use\nAllowed values: array of numeric namespace ids\nDefault value: empty array\nOther settings: Alphabetical | By function\n\nDetails[edit]\n\nPages 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.\n\n$wgNonincludableNamespaces[] = 102;", "m specific namespaces.\nIntroduced in version: 1.10.0 (r19934)\nRemoved in version: still in use\nAllowed values: array of numeric namespace ids\nDefault value: empty array\nOther settings: Alphabetical | By function\n\nDetails[edit]\n\nPages 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.\n\n$wgNonincludableNamespaces[] = 102;"]}