Help:Namespace: Difference between revisions
No edit summary |
No edit summary |
||
Line 160: | Line 160: | ||
==Wikia's explanation== | ==Wikia's explanation== | ||
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. | 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. | ||
[[category:help]] |
Revision as of 06:10, 9 July 2011
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
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
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
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 | |
{{ns:112}} | Howling | Tardis only: spoiler-friendly forum |
{{ns:113}} | Howling talk | Tardis only |
{{ns:302}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:303}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:304}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:305}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:306}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:307}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:308}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:309}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:370}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:371}} | Reserved for future use by Semantic MediaWiki extension | |
{{ns:400}} | See Help:Video Embed Tool | |
{{ns:401}} | ||
{{ns:500}} | User blog | See Help:Blog article |
{{ns:501}} | User blog comments | |
{{ns:502}} | Blog | |
{{ns:503}} | Blog talk |
You'll note that we only have one truly unique namespace, and that's for the Howling (112). The rest of these namespaces are standard across all Wikia wikis, so 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.
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. As of May 2011, we haven't quite rolled out our use of this extension, but when we do, you'll be seeing a lot more of these namespaces.
Wikia's explanation
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.