Help:Namespace: Difference between revisions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''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. | {{lock}}'''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== | == 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 [[ | 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 [[Tardis:video policy|video policy]] governs what can be placed in the '''Video:''' namespace. Our [[Tardis:spoiler policy|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 [[Tardis:discussion policy|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 [[ | 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 [[Tardis:Manual of Style|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". | 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== | == 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. | 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== | == 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. | 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. | ||
{| | {| {{prettytable}} | ||
|- | |- | ||
! style="width:10em;" |'''Namespace Code''' | |||
! style="width:17em;" |'''Namespace Name''' | |||
! |'''Notes''' | |||
|- | |- | ||
| <nowiki>{{ns:Media}}</nowiki> | | <nowiki>{{ns:Media}}</nowiki> | ||
| {{ns:Media}} | | {{ns:Media}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:Special}}</nowiki> | |<nowiki>{{ns:Special}}</nowiki> | ||
|{{ns:Special}} | |{{ns:Special}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:0}}</nowiki> | |<nowiki>{{ns:0}}</nowiki> | ||
Line 33: | Line 35: | ||
|<nowiki>{{ns:2}}</nowiki> | |<nowiki>{{ns:2}}</nowiki> | ||
|{{ns:2}} | |{{ns:2}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:3}}</nowiki> | |<nowiki>{{ns:3}}</nowiki> | ||
|{{ns:3}} | |{{ns:3}} | ||
| | |||
|- | |- | ||
| valign="top" |<nowiki>{{ns:4}}</nowiki> | | valign="top" |<nowiki>{{ns:4}}</nowiki> | ||
Line 49: | Line 53: | ||
|<nowiki>{{ns:6}}</nowiki> | |<nowiki>{{ns:6}}</nowiki> | ||
|{{ns:6}} | |{{ns:6}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:7}}</nowiki> | |<nowiki>{{ns:7}}</nowiki> | ||
|{{ns:7}} | |{{ns:7}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:8}}</nowiki> | |<nowiki>{{ns:8}}</nowiki> | ||
|{{ns:8}} | |{{ns:8}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:9}}</nowiki> | |<nowiki>{{ns:9}}</nowiki> | ||
|{{ns:9}} | |{{ns:9}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:10}}</nowiki> | |<nowiki>{{ns:10}}</nowiki> | ||
|{{ns:10}} | |{{ns:10}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:11}}</nowiki> | |<nowiki>{{ns:11}}</nowiki> | ||
|{{ns:11}} | |{{ns:11}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:12}}</nowiki> | |<nowiki>{{ns:12}}</nowiki> | ||
|{{ns:12}} | |{{ns:12}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:13}}</nowiki> | |<nowiki>{{ns:13}}</nowiki> | ||
|{{ns:13}} | |{{ns:13}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:14}}</nowiki> | |<nowiki>{{ns:14}}</nowiki> | ||
|{{ns:14}} | |{{ns:14}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:15}}</nowiki> | |<nowiki>{{ns:15}}</nowiki> | ||
|{{ns:15}} | |{{ns:15}} | ||
| | |||
|- | |- | ||
|<nowiki>{{ns:110}}</nowiki> | |<nowiki>{{ns:110}}</nowiki> | ||
Line 83: | Line 97: | ||
|<nowiki>{{ns:111}}</nowiki> | |<nowiki>{{ns:111}}</nowiki> | ||
|{{ns:111}} | |{{ns:111}} | ||
|Generally should not be used; all discussions about a topic should take place on same page | |||
|- | |- | ||
|<nowiki>{{ns:112}}</nowiki> | |<nowiki>{{ns:112}}</nowiki> | ||
|{{ns:112}} | |{{ns:112}} | ||
|'''Tardis only | |'''Tardis only'''<br>spoiler-friendly forum | ||
|- | |- | ||
|<nowiki>{{ns:113}}</nowiki> | |<nowiki>{{ns:113}}</nowiki> | ||
|{{ns:113}} | |{{ns:113}} | ||
|'''Tardis only''' | |'''Tardis only:'''<br>should not be used | ||
|- | |||
|<nowiki>{{ns:114}}</nowiki> | |||
|{{ns:114}} | |||
|'''Tardis only'''<br>spoiler-friendly forum | |||
|- | |||
|<nowiki>{{ns:115}}</nowiki> | |||
|{{ns:115}} | |||
|'''Tardis only:'''<br>should not be used | |||
|- | |- | ||
|<nowiki>{{ns:302}}</nowiki> | |<nowiki>{{ns:302}}</nowiki> | ||
|{{ns:302}} | |{{ns:302}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:303}}</nowiki> | |<nowiki>{{ns:303}}</nowiki> | ||
|{{ns:303}} | |{{ns:303}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:304}}</nowiki> | |<nowiki>{{ns:304}}</nowiki> | ||
|{{ns:304}} | |{{ns:304}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:305}}</nowiki> | |<nowiki>{{ns:305}}</nowiki> | ||
|{{ns:305}} | |{{ns:305}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:306}}</nowiki> | |<nowiki>{{ns:306}}</nowiki> | ||
|{{ns:306}} | |{{ns:306}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:307}}</nowiki> | |<nowiki>{{ns:307}}</nowiki> | ||
|{{ns:307}} | |{{ns:307}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:308}}</nowiki> | |<nowiki>{{ns:308}}</nowiki> | ||
|{{ns:308}} | |{{ns:308}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:309}}</nowiki> | |<nowiki>{{ns:309}}</nowiki> | ||
|{{ns:309}} | |{{ns:309}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:370}}</nowiki> | |<nowiki>{{ns:370}}</nowiki> | ||
|{{ns:370}} | |{{ns:370}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns:371}}</nowiki> | |<nowiki>{{ns:371}}</nowiki> | ||
|{{ns:370}} | |{{ns:370}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
| <nowiki>{{ns: | |<nowiki>{{ns:420}}</nowiki> | ||
| {{ns: | |{{ns:420}} | ||
| | |Used by [[T:SMW|Semantic MediaWiki]] | ||
|- | |- | ||
|<nowiki>{{ns: | |<nowiki>{{ns:421}}</nowiki> | ||
|{{ns: | |{{ns:421}} | ||
|Used by [[T:SMW|Semantic MediaWiki]] | |||
|- | |- | ||
|<nowiki>{{ns: | |<nowiki>{{ns:1100}}</nowiki> | ||
| | |{{ns:1100}} | ||
| | |still in beta; not present on most wikis as of September 2012 | ||
|- | |- | ||
|<nowiki>{{ns: | |<nowiki>{{ns:1201}}</nowiki> | ||
| | |{{ns:1201}} | ||
|Used both in Message Wall (which isn't present on this wiki) and 2012 Forum (which is) | |||
|- | |- | ||
|<nowiki>{{ns: | |<nowiki>{{ns:2000}}</nowiki> | ||
| | |{{ns:2000}} | ||
|still in beta; not present on most wikis as of December 2012 | |||
|- | |- | ||
|<nowiki>{{ns: | |<nowiki>{{ns:2001}}</nowiki> | ||
| | |{{ns:2001}} | ||
|still in beta; not present on most wikis as of December 2012 | |||
|- | |||
|<nowiki>{{ns:2002}}</nowiki> | |||
|{{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 == | |||
==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]] | |||
[[Category:Policies and help pages in need of updating]] |
Latest revision as of 03:04, 28 February 2024
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.