Help:Namespace

From Tardis Wiki, the free Doctor Who reference
(Redirected from Namespace)
LockedTab.png

Namespaces are rather like folders on your computer. They are discrete locations into which certain types of pages are created. For instance the File: namespace is the "folder" where we put pictures. The Talk: namespace is the place where we put discussions about how to edit articles. And the Help: namespace is where we put help files like this one.

Different namespaces, different rules[[edit source]]

Just as on your computer, different kinds of folders can have different rules associated with them. Likewise, we can and have established certain rules about various namespaces. Our video policy governs what can be placed in the Video: namespace. Our spoiler policy specifies that only the Howling: namespace can have unrestricted spoilers about upcoming stories, and gives restrictions on the presence of spoilers in other namespaces. Our discussion policy applies to any namespace with the word talk in its name, but also to Forum: and Howling: namespaces as well.

By far, most guidelines focus on what's called "main space" or just "main". This is the biggest part of the wiki, and it contains what most people think of as "regular" pages. That is, none of the pages here have namespace prefixes. These are pages like Doctor Who, TARDIS and the like. Probably the most important set of guidelines governing this space is the Manual of Style.

It's important to understand the namespace to which a rule applies. To take a ubiquitous example, British spellings are required by the Manual of Style. But the MOS is only really enforced in main, or those things which can be seen on main, like category names. Thus, American spellings are routinely challenged and corrected in main, but almost universally ignored elsewhere. You'll find the American spelling of "licensing" in the File: namespace, for instance, and you might very well catch some Americanisms in help files like this, forum discussions, user pages, and video pages. But the rule doesn't apply here so it's not "wrong".

Powerful tool[[edit source]]

Namespaces are a powerful beneath-the-surface way to organize the wiki. Because you can get the wiki code to recognize the namespace of a particular page, you can start to define actions that only happen in certain namespaces. One prevalent example of this is the message that appears when you create a new page. You may have noticed that this message changes, depending on the kind of article that's being created. This system fully leverages namespaces. You can examine the code at MediaWiki:newarticletext. If you're scared of coding, you may find that this very simple bit of coding actually reads in a way that's completely understandable. You may find that the code explains namespaces to you better than this entire help file.

List of namespaces[[edit source]]

The following is a list of all namspaces present on this wiki. You'll note that each namespace is numbered. In most cases, most editors never need to know this number. However, there are some instances in advanced coding where it is more convenient to work with the number, such as when you want something to apply to all namespaces with a value under 10, or a number over 300. Ranges are more easily done with numbers than text.

Namespace Code Namespace Name Notes
{{ns:Media}} Media
{{ns:Special}} Special
{{ns:0}} Main namespace for regular wiki articles
{{ns:1}} Talk Discussion pages for regular wiki articles
{{ns:2}} User
{{ns:3}} User talk
{{ns:4}} Project

(on this wiki, "Tardis")

This namespace is for articles having to do with the running of the wiki
{{ns:5}} Project talk

(on this wiki, "Tardis talk")

{{ns:6}} File
{{ns:7}} File talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki talk
{{ns:10}} Template
{{ns:11}} Template talk
{{ns:12}} Help
{{ns:13}} Help talk
{{ns:14}} Category
{{ns:15}} Category talk
{{ns:110}} Forum See Help:Wiki-style forums
{{ns:111}} Forum talk Generally should not be used; all discussions about a topic should take place on same page
{{ns:112}} Howling Tardis only
spoiler-friendly forum
{{ns:113}} Howling talk Tardis only:
should not be used
{{ns:114}} Theory Tardis only
spoiler-friendly forum
{{ns:115}} Theory talk Tardis only:
should not be used
{{ns:302}} Used by Semantic MediaWiki
{{ns:303}} Used by Semantic MediaWiki
{{ns:304}} Used by Semantic MediaWiki
{{ns:305}} Used by Semantic MediaWiki
{{ns:306}} Used by Semantic MediaWiki
{{ns:307}} Used by Semantic MediaWiki
{{ns:308}} Used by Semantic MediaWiki
{{ns:309}} Used by Semantic MediaWiki
{{ns:370}} Used by Semantic MediaWiki
{{ns:371}} Used by Semantic MediaWiki
{{ns:420}} GeoJson Used by Semantic MediaWiki
{{ns:421}} GeoJson talk Used by Semantic MediaWiki
{{ns:1100}} still in beta; not present on most wikis as of September 2012
{{ns:1201}} Used both in Message Wall (which isn't present on this wiki) and 2012 Forum (which is)
{{ns:2000}} still in beta; not present on most wikis as of December 2012
{{ns:2001}} still in beta; not present on most wikis as of December 2012
{{ns:2002}} still in beta; not present on most wikis as of December 2012

You'll note that we only have a couple of truly unique namespaces — Howling (112) and Theory (114). The rest of these namespaces are standard across all Wikia wikis, meaning that you can use this chart safely elsewhere on the Wikia network. Because Wikia haven't done a lot of fiddling to the MediaWiki defaults, most of these namespaces work well beyond Wikia. Wikipedia, for instance, have very similar namespace numbering schemes — at least insofar as namespaces under 200 are concerned.

We do have some namespaces that are not a part of the standard Wikia installation, but they are nevertheless "standard" to the optional installation of the Semantic MediaWiki extension. You won't find namespaces in the 300s on every Wikia wiki, but when you do, you know that means that Semantic MediaWiki has been installed.

Wikia's explanation[[edit source]]

Below you'll find the generic, Wikia explanation of namespaces, which is found on every wikia wiki. It contains a few points not covered above.