CINXE.COM
Manual:Namespace - MediaWiki
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref--excluded vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Manual:Namespace - MediaWiki</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref--excluded vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )mediawikiwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"afbde51a-623b-4b79-88a9-58980df02100","wgCanonicalNamespace":"Manual","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":100,"wgPageName":"Manual:Namespace","wgTitle":"Namespace","wgCurRevisionId":6801958,"wgRevisionId":6801958,"wgArticleId":15538,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Namespace"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Manual:Namespace","wgRelevantArticleId":15538,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor" :{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgInternalRedirectTargetUrl":"/wiki/Manual:Namespace#Subject_and_talk_namespaces","wgTranslatePageTranslation":"source","wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.cite.styles":"ready","skins.vector.search.codex.styles":"ready", "skins.vector.styles":"ready","skins.vector.icons":"ready","ext.translate.edit.documentation.styles":"ready","ext.translate":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","ext.cite.ux-enhancements","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.translate%2CwikimediaBadges%7Cext.translate.edit.documentation.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="MediaWiki"> <meta property="og:title" content="Manual:Namespace - MediaWiki"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Manual:Namespace#Subject_and_talk_namespaces"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Manual:Namespace#Subject_and_talk_namespaces"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="MediaWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-100 ns-subject page-Manual_Namespace rootpage-Manual_Namespace skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/MediaWiki" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-mw-download" class="mw-list-item"><a href="/wiki/Download"><span>Get MediaWiki</span></a></li><li id="n-mw-extensions" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Category:Extensions"><span>Get extensions</span></a></li><li id="n-blog-text" class="mw-list-item"><a href="https://techblog.wikimedia.org/"><span>Tech blog</span></a></li><li id="n-mw-contribute" class="mw-list-item"><a href="/wiki/Special:MyLanguage/How_to_contribute"><span>Contribute</span></a></li> </ul> </div> </div> <div id="p-support" class="vector-menu mw-portlet mw-portlet-support" > <div class="vector-menu-heading"> Support </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>User help</span></a></li><li id="n-mw-faq" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:FAQ"><span>FAQ</span></a></li><li id="n-mw-manual" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:Contents"><span>Technical manual</span></a></li><li id="n-mw-supportdesk" class="mw-list-item"><a href="/wiki/Project:Support_desk"><span>Support desk</span></a></li><li id="n-mw-communication" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Communication"><span>Communication</span></a></li> </ul> </div> </div> <div id="p-development" class="vector-menu mw-portlet mw-portlet-development" > <div class="vector-menu-heading"> Development </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mw-developerportal" class="mw-list-item"><a href="https://developer.wikimedia.org/"><span>Developer portal</span></a></li><li id="n-svn-statistics" class="mw-list-item"><a href="/wiki/Development_statistics"><span>Code statistics</span></a></li> </ul> </div> </div> <div id="p-mediawiki.org" class="vector-menu mw-portlet mw-portlet-mediawiki_org" > <div class="vector-menu-heading"> mediawiki.org </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Project:Help" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-mw-translate" class="mw-list-item"><a href="/wiki/Special:LanguageStats"><span>Translate content</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-mw-discussion" class="mw-list-item"><a href="/wiki/Project:Village_Pump"><span>Village pump</span></a></li><li id="n-Sandboxlink-portlet-label" class="mw-list-item"><a href="/wiki/Project:Sandbox"><span>Sandbox</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=mediawikiwiki&page=Manual%3ANamespace" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/MediaWiki" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/mediawikiwiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="MediaWiki" src="/static/images/mobile/copyright/mediawikiwiki-wordmark.svg" style="width: 7.5em; height: 1.125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search MediaWiki [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search MediaWiki" aria-label="Search MediaWiki" autocapitalize="sentences" title="Search MediaWiki [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Manual%3ANamespace" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Manual%3ANamespace" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Manual%3ANamespace" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Manual%3ANamespace" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-Technical_overview" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Technical_overview"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Technical overview</span> </div> </a> <button aria-controls="toc-Technical_overview-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Technical overview subsection</span> </button> <ul id="toc-Technical_overview-sublist" class="vector-toc-list"> <li id="toc-Subject_and_talk_namespaces" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Subject_and_talk_namespaces"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Subject and talk namespaces</span> </div> </a> <ul id="toc-Subject_and_talk_namespaces-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Built-in_namespaces" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Built-in_namespaces"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Built-in namespaces</span> </div> </a> <ul id="toc-Built-in_namespaces-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Custom_namespaces" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Custom_namespaces"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Custom namespaces</span> </div> </a> <ul id="toc-Custom_namespaces-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Functionality" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Functionality"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Functionality</span> </div> </a> <ul id="toc-Functionality-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>See also</span> </div> </a> <button aria-controls="toc-See_also-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle See also subsection</span> </button> <ul id="toc-See_also-sublist" class="vector-toc-list"> <li id="toc-Site_administration" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Site_administration"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.1</span> <span>Site administration</span> </div> </a> <ul id="toc-Site_administration-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Extensions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Extensions"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.2</span> <span>Extensions</span> </div> </a> <ul id="toc-Extensions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-For_extension_developers" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#For_extension_developers"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.3</span> <span>For extension developers</span> </div> </a> <ul id="toc-For_extension_developers-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Manual</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Namespace</span></h1> <div class="mw-indicators"> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-manual" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Manual:Namespace" title="View the subject page [c]" accesskey="c"><span>Manual</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Manual_talk:Namespace" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Manual:Namespace"><span>Read</span></a></li><li id="ca-viewsource" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual:Namespace&action=edit" title="This page is protected. You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual:Namespace&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Manual:Namespace"><span>Read</span></a></li><li id="ca-more-viewsource" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual:Namespace&action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual:Namespace&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Manual:Namespace" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Manual:Namespace" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Manual:Namespace&oldid=6801958" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Manual:Namespace&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=Manual%3ANamespace&id=6801958&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual%3ANamespace%23Subject_and_talk_namespaces"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual%3ANamespace%23Subject_and_talk_namespaces"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Manual%3ANamespace"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Manual%3ANamespace&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Manual:Namespace&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint nomobile" dir="ltr" lang="en"><a href="/w/index.php?title=Special:Translate&group=page-Manual%3ANamespace&action=page&filter=&action_source=translate_page" title="Special:Translate">Translate this page</a></div><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Manual:Namespace/af" class="mw-pt-progress mw-pt-progress--low" title="Manual:Namespace/af (0% translated)" lang="af" dir="ltr">Afrikaans</a></li> <li><a href="/wiki/Manual:Namespace/id" class="mw-pt-progress mw-pt-progress--low" title="Petunjuk:Ruang nama (14% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Manual:Namespace/de" class="mw-pt-progress mw-pt-progress--med" title="Handbuch:Namensraum (51% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete" lang="en" dir="ltr">English</span></li> <li><a href="/wiki/Manual:Namespace/kaa" class="mw-pt-progress mw-pt-progress--low" title="Qollanba:Atamalar kópligi (11% translated)" lang="kaa" dir="ltr">Qaraqalpaqsha</a></li> <li><a href="/wiki/Manual:Namespace/tr" class="mw-pt-progress mw-pt-progress--med" title="Manual:Ad alanı (68% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Manual:Namespace/ca" class="mw-pt-progress mw-pt-progress--low" title="Manual:Espais de nom (1% translated)" lang="ca" dir="ltr">català</a></li> <li><a href="/wiki/Manual:Namespace/da" class="mw-pt-progress mw-pt-progress--low" title="Manual:Navnerum (14% translated)" lang="da" dir="ltr">dansk</a></li> <li><a href="/wiki/Manual:Namespace/es" class="mw-pt-progress mw-pt-progress--med" title="Manual:Espacio de nombres (42% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Manual:Namespace/fr" class="mw-pt-progress mw-pt-progress--complete" title="Manuel:Espace de noms (100% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Manual:Namespace/gl" class="mw-pt-progress mw-pt-progress--low" title="Manual:Espazo de nomes (14% translated)" lang="gl" dir="ltr">galego</a></li> <li><a href="/wiki/Manual:Namespace/it" class="mw-pt-progress mw-pt-progress--med" title="Manual:Namespace (68% translated)" lang="it" dir="ltr">italiano</a></li> <li><a href="/wiki/Manual:Namespace/lt" class="mw-pt-progress mw-pt-progress--low" title="Vadovas:Vardų sritis (4% translated)" lang="lt" dir="ltr">lietuvių</a></li> <li><a href="/wiki/Manual:Namespace/hu" class="mw-pt-progress mw-pt-progress--low" title="Manual:Namespace/hu (9% translated)" lang="hu" dir="ltr">magyar</a></li> <li><a href="/wiki/Manual:Namespace/pl" class="mw-pt-progress mw-pt-progress--high" title="Podręcznik:Przestrzeń nazw (75% translated)" lang="pl" dir="ltr">polski</a></li> <li><a href="/wiki/Manual:Namespace/pt" class="mw-pt-progress mw-pt-progress--med" title="Manual:Espaço nominal (31% translated)" lang="pt" dir="ltr">português</a></li> <li><a href="/wiki/Manual:Namespace/pt-br" class="mw-pt-progress mw-pt-progress--med" title="Manual:Namespace (47% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Manual:Namespace/fi" class="mw-pt-progress mw-pt-progress--med" title="Ohje:Nimiavaruus (29% translated)" lang="fi" dir="ltr">suomi</a></li> <li><a href="/wiki/Manual:Namespace/cs" class="mw-pt-progress mw-pt-progress--complete" title="Příručka:Jmenný prostor (100% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Manual:Namespace/ru" class="mw-pt-progress mw-pt-progress--med" title="Руководство:Пространство имён (69% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Manual:Namespace/fa" class="mw-pt-progress mw-pt-progress--low" title="Manual:فضای نام (1% translated)" lang="fa" dir="rtl">فارسی</a></li> <li><a href="/wiki/Manual:Namespace/gu" class="mw-pt-progress mw-pt-progress--low" title="Manual:Namespace/gu (1% translated)" lang="gu" dir="ltr">ગુજરાતી</a></li> <li><a href="/wiki/Manual:Namespace/th" class="mw-pt-progress mw-pt-progress--low" title="คู่มือการใช้งาน:เนมสเปซ (6% translated)" lang="th" dir="ltr">ไทย</a></li> <li><a href="/wiki/Manual:Namespace/ka" class="mw-pt-progress mw-pt-progress--low" title="Manual:Namespace/ka (0% translated)" lang="ka" dir="ltr">ქართული</a></li> <li><a href="/wiki/Manual:Namespace/zh" class="mw-pt-progress mw-pt-progress--complete" title="Manual: (100% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Manual:Namespace/ja" class="mw-pt-progress mw-pt-progress--high" title="Manual:名前空間 (81% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Manual:Namespace/ko" class="mw-pt-progress mw-pt-progress--med" title="메뉴얼:이름공간 (21% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <p>A <b>namespace</b> is a collection of pages which have content with a similar purpose, i.e. pages where the intended use is the same. Namespaces can be thought of as partitions of different types of information within the same wiki, and keep "real" content separate from <a href="/wiki/Special:PrefixIndex/User:" title="Special:PrefixIndex/User:">user profiles</a>, <a href="/wiki/Special:PrefixIndex/Help:" title="Special:PrefixIndex/Help:">help pages</a>, etc. The namespace <b>prefix</b> of a page forms part of the title of a page, separated with a <b>colon (<code>:</code>)</b>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Technical_overview">Technical overview</h2></div> <p>As said, pages exist within a namespace, and this can be distinguished using the namespace prefix of a page, which forms part of the title of a page, separated with a colon (<code>:</code>). </p><p>For example: </p> <table class="wikitable"> <tbody><tr> <th>Title</th> <th>Namespace </th> <th>Code </th></tr> <tr> <td><code>Foo</code></td> <td>Main </td> <td>0 </td></tr> <tr> <td><code>Template:Foo</code></td> <td>Template </td> <td>10 </td></tr> <tr> <td><code>Module:Foo</code></td> <td>Module </td> <td>828 </td></tr></tbody></table> <p>The "main namespace" does not have a prefix. Also, pages in the main namespace cannot have names starting with any of the existing namespaces prefixes followed by a colon. </p><p>Pages can be <a href="/wiki/Special:MyLanguage/Help:Moving_a_page" title="Special:MyLanguage/Help:Moving a page">moved</a> between namespaces simply by changing the prefix part of their title. </p><p>Namespace prefixes can be translated, and aliases can be configured for each (see <code><a href="/wiki/Special:MyLanguage/Manual:$wgNamespaceAliases" title="Special:MyLanguage/Manual:$wgNamespaceAliases">$wgNamespaceAliases</a><span style="display:none"><a href="/wiki/Manual:$wgNamespaceAliases" title="Manual:$wgNamespaceAliases"> </a></span></code>). All namespaces also have a "canonical" prefix, which works on all wikis regardless of configuration. Aliases and canonical names can be used in links, when performing a <a href="/wiki/Special:MyLanguage/Help:Searching" title="Special:MyLanguage/Help:Searching">search</a>, and in the page title with the help of the {{DISPLAYTITLE}} <a href="/wiki/Special:MyLanguage/Help:Magic_words" title="Special:MyLanguage/Help:Magic words">magic word</a>. </p><p>Each namespace has a corresponding <b>namespace index</b>. Within the database, the title is split into namespace index and text title, and this is used for storage in the <code>page.page_namespace</code> and <code>page.page_title</code> columns, among others. </p> <div class="mw-heading mw-heading3"><h3 id="Subject_and_talk_namespaces">Subject and talk namespaces</h3></div> <dl><dd><i>See <a href="/wiki/Special:MyLanguage/Help:Talk_pages" title="Special:MyLanguage/Help:Talk pages">Help:Talk pages</a><span style="display:none"><a href="/wiki/Help:Talk_pages" title="Help:Talk pages"> </a></span> for instructions on how to use talk pages.</i></dd></dl> <p>Most namespaces have an associated <b>discussion namespace</b> (or "talk" namespace). All discussion namespaces have odd-integer indices, and the discussion namespace index for a specific namespace with index <i>n</i> is <i>n+1</i>. The namespaces with even-integer indices are <b>subject namespaces</b> (note that this is a distinct concept from <a href="/wiki/Special:MyLanguage/Manual:$wgContentNamespaces" title="Special:MyLanguage/Manual:$wgContentNamespaces">content namespaces</a>). The subject-talk duality can be explored using the <code>{{SUBJECTPAGENAME}}</code> and <code>{{TALKPAGENAME}}</code> <a href="/wiki/Special:MyLanguage/Help:Magic_words#Page_names" title="Special:MyLanguage/Help:Magic words">magic words</a>. The <code class="mw-highlight" style="white-space:nowrap"><span class="p">‎<</span><span class="nt">body</span><span class="p">></span></code> tag of pages in talk namespaces has the <code>ns-talk</code> CSS class, which might be useful for styling. </p> <div class="mw-heading mw-heading2"><h2 id="Built-in_namespaces">Built-in namespaces</h2></div> <p>MediaWiki ships with 18 built-in namespaces: </p> <ul><li>16 "real" namespaces, corresponding to actual pages, numbered 0 to 15, and grouped in subject/talk pairs</li> <li>2 "virtual" namespaces (one for dynamically generated special pages, and one serving as an alias for direct file links), numbered -1 and -2, respectively. Since these namespaces don't correspond to pages stored in the database, one cannot create or delete pages in these namespaces, and there are no corresponding discussion namespaces.</li></ul> <p>The full list is presented in the table below. </p> <table class="wikitable"> <tbody><tr> <th>ID </th> <th>Name </th> <th>Purpose </th> <th colspan="2">Talk </th></tr> <tr> <th>0 </th> <td>(Main) </td> <td><a href="/wiki/Special:MyLanguage/Manual:$wgContentNamespaces" title="Special:MyLanguage/Manual:$wgContentNamespaces">"Real" content articles</a><span style="display:none"><a href="/wiki/Manual:$wgContentNamespaces" title="Manual:$wgContentNamespaces"> </a></span>.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td> <td>Talk </td> <th>1 </th></tr> <tr> <th>2 </th> <td>User </td> <td><a href="/wiki/Special:MyLanguage/Help:User_page" title="Special:MyLanguage/Help:User page">User pages</a><span style="display:none"><a href="/wiki/Help:User_page" title="Help:User page"> </a></span>.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </td> <td>User talk </td> <th>3 </th></tr> <tr> <th>4 </th> <td>Project </td> <td>Information about the wiki.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> </td> <td>Project talk </td> <th>5 </th></tr> <tr> <th>6 </th> <td>File </td> <td>Media description pages </td> <td>File talk </td> <th>7 </th></tr> <tr> <th>8 </th> <td>MediaWiki </td> <td>Site interface customization<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> </td> <td>MediaWiki talk </td> <th>9 </th></tr> <tr> <th>10 </th> <td>Template </td> <td>Template pages </td> <td>Template talk </td> <th>11 </th></tr> <tr> <th>12 </th> <td>Help </td> <td>Help pages </td> <td>Help talk </td> <th>13 </th></tr> <tr> <th>14 </th> <td>Category </td> <td>Category description pages </td> <td>Category talk </td> <th>15 </th></tr> <tr> <th colspan="5"> </th></tr> <tr> <th>-1 </th> <td>Special </td> <td>Holds special pages </td> <td colspan="2" rowspan="2" style="background:#ddd; text-align:center; vertical-align:middle;">N/A </td></tr> <tr> <th>-2 </th> <td>Media </td> <td>Alias for direct links to media files </td></tr></tbody></table> <p>Each namespace also has a constant derived from its name, with all letters in uppercase, spaces replaced by underscores, and prefixed by <code>NS_</code>. For example, the constant for the "User talk" namespace is <code>NS_USER_TALK</code>. A complete list can be found in <a href="/wiki/Special:MyLanguage/Manual:Namespace_constants" title="Special:MyLanguage/Manual:Namespace constants">Manual:Namespace constants</a><span style="display:none"><a href="/wiki/Manual:Namespace_constants" title="Manual:Namespace constants"> </a></span>. </p> <hr /> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text">The subject namespace has no prefix.</span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text">Editing a User talk page generates a notification for the user.</span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a></span> <span class="reference-text">Defined by <code><a href="/wiki/Special:MyLanguage/Manual:$wgMetaNamespace" title="Special:MyLanguage/Manual:$wgMetaNamespace">$wgMetaNamespace</a><span style="display:none"><a href="/wiki/Manual:$wgMetaNamespace" title="Manual:$wgMetaNamespace"> </a></span></code>, which unless manually set otherwise, defaults to <code><a href="/wiki/Special:MyLanguage/Manual:$wgSitename" title="Special:MyLanguage/Manual:$wgSitename">$wgSitename</a><span style="display:none"><a href="/wiki/Manual:$wgSitename" title="Manual:$wgSitename"> </a></span></code>.</span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a></span> <span class="reference-text">Only editable by users with the '<a href="/wiki/Special:MyLanguage/Manual:User_rights#editinterface" title="Special:MyLanguage/Manual:User rights">editinterface</a>' permission.<br /><style data-mw-deduplicate="TemplateStyles:r6651107">.mw-parser-output .note{background-position:left 7px top 50%;padding:0.5em 0.5em 0.5em 40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;color:#333;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .note-inline{display:inline-block;vertical-align:middle}.mw-parser-output .note-info{background-color:#eaf3ff;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg");background-size:25px;border-color:#a3caff;padding-left:40px;min-height:25px}.mw-parser-output .note-reminder{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-warn{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-error{background-color:#fee7e6;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");background-size:25px;border-color:#c33;min-height:25px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .note{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .note{background-color:transparent;color:inherit}}</style><div role="note" class="note note-info note-inline"><a href="/wiki/Special:MyLanguage/Manual:$wgRawHtmlMessages" title="Special:MyLanguage/Manual:$wgRawHtmlMessages">Some pages</a> in this namespace additionally require <code>editsitecss</code> and <code>editesitejs</code> permissions.</div></span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="Custom_namespaces">Custom namespaces</h2></div> <p>Extensions and site administrators can define additional namespaces to group additional classes of pages together. For a thorough overview, see <a href="/wiki/Special:MyLanguage/Manual:Using_custom_namespaces" title="Special:MyLanguage/Manual:Using custom namespaces">Manual:Using custom namespaces</a><span style="display:none"><a href="/wiki/Manual:Using_custom_namespaces" title="Manual:Using custom namespaces"> </a></span>. </p> <div class="mw-heading mw-heading2"><h2 id="Functionality">Functionality</h2></div> <p>Some namespaces, like Project and Help, only exist for convenience and do not have any extra functionality compared to the Main namespace. </p><p>Template namespace pages can be <a href="/wiki/Special:MyLanguage/Help:Transclusion" title="Special:MyLanguage/Help:Transclusion">transcluded</a> without namespace prefix. </p><p>User namespace pages are associated with user accounts or IP addresses. Changes to <a href="/wiki/Special:MyLanguage/Help:Talk_pages#User_talk_pages" title="Special:MyLanguage/Help:Talk pages">user talk pages</a> generate an automatic message notification. </p><p>Pages in the <a href="/wiki/Special:MyLanguage/Help:System_message" title="Special:MyLanguage/Help:System message">"MediaWiki" namespace</a> are used to override default messages in <a href="/wiki/Special:MyLanguage/Localisation" title="Special:MyLanguage/Localisation">language file</a> and can only be edited by administrators or other users with the <a href="/wiki/Special:MyLanguage/Manual:User_rights#editinterface" title="Special:MyLanguage/Manual:User rights">editinterface</a> permission. </p><p>File and Category pages have special functionality, as described in <a href="/wiki/Special:MyLanguage/Help:Managing_files" title="Special:MyLanguage/Help:Managing files">Help:Managing files</a><span style="display:none"><a href="/wiki/Help:Managing_files" title="Help:Managing files"> </a></span> and <a href="/wiki/Special:MyLanguage/Help:Categories" title="Special:MyLanguage/Help:Categories">Help:Categories</a><span style="display:none"><a href="/wiki/Help:Categories" title="Help:Categories"> </a></span>. Files can be moved by users with the "movefile" right. Category pages can be moved by users with the "move-categorypages" right. </p><p>All pages in discussion namespaces have a "post a comment" feature. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div> <ul><li><a href="/wiki/Special:MyLanguage/Help:Namespaces" title="Special:MyLanguage/Help:Namespaces">Help:Namespaces</a><span style="display:none"><a href="/wiki/Help:Namespaces" title="Help:Namespaces"> </a></span> – user-oriented information.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Site_administration">Site administration</h3></div> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Configuration_settings#Namespaces" title="Special:MyLanguage/Manual:Configuration settings">Manual:Configuration settings#Namespaces</a></li> <li><a href="/wiki/Special:MyLanguage/Manual:Namespace_constants" title="Special:MyLanguage/Manual:Namespace constants">Manual:Namespace constants</a><span style="display:none"><a href="/wiki/Manual:Namespace_constants" title="Manual:Namespace constants"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Using_custom_namespaces" title="Special:MyLanguage/Manual:Using custom namespaces">Manual:Using custom namespaces</a><span style="display:none"><a href="/wiki/Manual:Using_custom_namespaces" title="Manual:Using custom namespaces"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Help_namespace" title="Special:MyLanguage/Manual:Help namespace">Manual:Help namespace</a><span style="display:none"><a href="/wiki/Manual:Help_namespace" title="Manual:Help namespace"> </a></span></li></ul> <div class="mw-heading mw-heading3"><h3 id="Extensions">Extensions</h3></div> <ul><li><a href="/wiki/Special:MyLanguage/Category:Namespace_extensions" title="Special:MyLanguage/Category:Namespace extensions">Category:Namespace extensions</a><span style="display:none"><a href="/wiki/Category:Namespace_extensions" title="Category:Namespace extensions"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:NamespaceManager" title="Special:MyLanguage/Extension:NamespaceManager">Extension:NamespaceManager</a><span style="display:none"><a href="/wiki/Extension:NamespaceManager" title="Extension:NamespaceManager"> </a></span> – for management of namespaces.</li> <li><a href="/wiki/Special:MyLanguage/Extension:BlueSpiceNamespaceManager" title="Special:MyLanguage/Extension:BlueSpiceNamespaceManager">Extension:BlueSpiceNamespaceManager</a><span style="display:none"><a href="/wiki/Extension:BlueSpiceNamespaceManager" title="Extension:BlueSpiceNamespaceManager"> </a></span> – lets you create custom namespaces.</li> <li><a href="/wiki/Special:MyLanguage/Extension:SpecialNamespaces" title="Special:MyLanguage/Extension:SpecialNamespaces">Extension:SpecialNamespaces</a><span style="display:none"><a href="/wiki/Extension:SpecialNamespaces" title="Extension:SpecialNamespaces"> </a></span> – a modified version of the <a href="/wiki/Special:MyLanguage/Extension:Interwiki" title="Special:MyLanguage/Extension:Interwiki">Extension:Interwiki</a><span style="display:none"><a href="/wiki/Extension:Interwiki" title="Extension:Interwiki"> </a></span> which changes it to provide a namespace manager as a special page.</li> <li><a href="/wiki/Special:MyLanguage/Extension:Lockdown" title="Special:MyLanguage/Extension:Lockdown">Extension:Lockdown</a><span style="display:none"><a href="/wiki/Extension:Lockdown" title="Extension:Lockdown"> </a></span> – to control access to namespaces.</li> <li><a href="/wiki/Special:MyLanguage/Extension:SkinPerNamespace" title="Special:MyLanguage/Extension:SkinPerNamespace">Extension:SkinPerNamespace</a><span style="display:none"><a href="/wiki/Extension:SkinPerNamespace" title="Extension:SkinPerNamespace"> </a></span> – to use a different skin in a namespace.</li></ul> <div class="mw-heading mw-heading3"><h3 id="For_extension_developers">For extension developers</h3></div> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Using_custom_namespaces#In_extensions" title="Special:MyLanguage/Manual:Using custom namespaces">Manual:Using custom namespaces</a><span style="display:none"><a href="/wiki/Manual:Using_custom_namespaces#In_extensions" title="Manual:Using custom namespaces"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension_default_namespaces" title="Special:MyLanguage/Extension default namespaces">List of custom namespaces registered by extensions</a><span style="display:none"><a href="/wiki/Extension_default_namespaces" title="Extension default namespaces"> </a></span>. If you define a constant for a custom namespace, list it here, too.</li> <li>Classes <ul><li><a href="/wiki/Special:MyLanguage/Manual:MWNamespace.php" title="Special:MyLanguage/Manual:MWNamespace.php">Manual:MWNamespace.php</a><span style="display:none"><a href="/wiki/Manual:MWNamespace.php" title="Manual:MWNamespace.php"> </a></span>, containing the MWNamespace class <span style="color:#d33">(removed in 1.39)</span></li></ul></li> <li>Hooks <ul><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/CanonicalNamespaces" title="Special:MyLanguage/Manual:Hooks/CanonicalNamespaces">Manual:Hooks/CanonicalNamespaces</a><span style="display:none"><a href="/wiki/Manual:Hooks/CanonicalNamespaces" title="Manual:Hooks/CanonicalNamespaces"> </a></span> – add custom namespaces or alter the defaults.</li> <li><a href="/wiki/Special:MyLanguage/Manual:Hooks/NamespaceIsMovable" title="Special:MyLanguage/Manual:Hooks/NamespaceIsMovable">Manual:Hooks/NamespaceIsMovable</a><span style="display:none"><a href="/wiki/Manual:Hooks/NamespaceIsMovable" title="Manual:Hooks/NamespaceIsMovable"> </a></span> – determine if it is possible to move pages in a namespace.</li> <li><a href="/wiki/Special:MyLanguage/Manual:Hooks/SearchableNamespaces" title="Special:MyLanguage/Manual:Hooks/SearchableNamespaces">Manual:Hooks/SearchableNamespaces</a><span style="display:none"><a href="/wiki/Manual:Hooks/SearchableNamespaces" title="Manual:Hooks/SearchableNamespaces"> </a></span> – modify which namespaces are searchable.</li> <li><a href="/wiki/Special:MyLanguage/Manual:Hooks/LanguageGetNamespaces" title="Special:MyLanguage/Manual:Hooks/LanguageGetNamespaces">Manual:Hooks/LanguageGetNamespaces</a><span style="display:none"><a href="/wiki/Manual:Hooks/LanguageGetNamespaces" title="Manual:Hooks/LanguageGetNamespaces"> </a></span> – provide custom ordering for namespaces or remove namespaces.</li> <li><a href="/wiki/Special:MyLanguage/Manual:Hooks/PrefixSearchExtractNamespace" title="Special:MyLanguage/Manual:Hooks/PrefixSearchExtractNamespace">Manual:Hooks/PrefixSearchExtractNamespace</a><span style="display:none"><a href="/wiki/Manual:Hooks/PrefixSearchExtractNamespace" title="Manual:Hooks/PrefixSearchExtractNamespace"> </a></span> – called if core was not able to extract a namespace from the search string so that extensions can attempt it.</li></ul></li></ul> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐7c479b968‐j99dn Cached time: 20241117122104 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.403 seconds Real time usage: 0.640 seconds Preprocessor visited node count: 2490/1000000 Post‐expand include size: 16079/2097152 bytes Template argument size: 8747/2097152 bytes Highest expansion depth: 13/100 Expensive parser function count: 42/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 8713/5000000 bytes Lua time usage: 0.057/10.000 seconds Lua memory usage: 1053458/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 269.953 1 -total 85.18% 229.956 29 Template:Ll 29.38% 79.323 58 Template:Translatable 23.91% 64.542 29 Template:Pagelang 13.65% 36.839 14 Template:TNTN 6.87% 18.555 1 Template:Note 5.02% 13.548 1 Translations:Manual:MWNamespace.php/Page_display_title/en 4.61% 12.454 1 Translations:Help:Managing_files/Page_display_title/en 2.04% 5.512 1 Translations:Help:Talk_pages/Page_display_title/en 1.84% 4.973 1 Template:Removed-inline --> <!-- Saved in parser cache with key mediawikiwiki:pcache:idhash:15538-0!canonical and timestamp 20241117122104 and revision id 6801958. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.mediawiki.org/w/index.php?title=Manual:Namespace&oldid=6801958#Subject_and_talk_namespaces">https://www.mediawiki.org/w/index.php?title=Manual:Namespace&oldid=6801958#Subject_and_talk_namespaces</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Namespace" title="Category:Namespace">Namespace</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 18 October 2024, at 11:22.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. Text in <a class="external text" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">the Help: namespace</a> is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Project:About">About mediawiki.org</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.mediawiki.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//m.mediawiki.org/w/index.php?title=Manual:Namespace&mobileaction=toggle_view_mobile#Subject_and_talk_namespaces" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-qzp9h","wgBackendResponseTime":92,"wgPageParseReport":{"limitreport":{"cputime":"0.403","walltime":"0.640","ppvisitednodes":{"value":2490,"limit":1000000},"postexpandincludesize":{"value":16079,"limit":2097152},"templateargumentsize":{"value":8747,"limit":2097152},"expansiondepth":{"value":13,"limit":100},"expensivefunctioncount":{"value":42,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":8713,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 269.953 1 -total"," 85.18% 229.956 29 Template:Ll"," 29.38% 79.323 58 Template:Translatable"," 23.91% 64.542 29 Template:Pagelang"," 13.65% 36.839 14 Template:TNTN"," 6.87% 18.555 1 Template:Note"," 5.02% 13.548 1 Translations:Manual:MWNamespace.php/Page_display_title/en"," 4.61% 12.454 1 Translations:Help:Managing_files/Page_display_title/en"," 2.04% 5.512 1 Translations:Help:Talk_pages/Page_display_title/en"," 1.84% 4.973 1 Template:Removed-inline"]},"scribunto":{"limitreport-timeusage":{"value":"0.057","limit":"10.000"},"limitreport-memusage":{"value":1053458,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-7c479b968-j99dn","timestamp":"20241117122104","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>