Difference between revisions of "Help:Namespace"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(it appears that I like expanding the help namespace, as it is very bare on this wiki, lol. I will create the help:category page later.)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A namespace is essentially a category to seperate a number of pages, but they are much different from normal [[Help:Category|Categories]]. A category is a list of other pages(and it can contain a page by itself), but a namespace is a large group of pages that is not defined in any other way other than by the fact that a page uses it. You can easily make a namespace, simply by creating a page with the name of the namespace, followed by a double-dot, before it. This is strongly discouraged, however, as creating too much namespaces makes things a lot more unorganized.
+
A '''namespace''' is a prefix in a page's title that serves as a way to organize large groups of pages (in contrast, [[Help:Category|Categories]] are added on a page-by-page basis). For instance, this page is in the Help namespace, and [[DF2012:Alcohol]] is in the DF2012 namespace. The namespace a page is in can be easily identified by looking at the page title; For instance, on this page, "Help" is the namespace, and "Namespace" is the page name. They are separated by a colon (":").
For instance, this page is in the Help namespace, and [[DF2012:Alcohol|this page]] is in the DF2012 namespace. The namespace a page is in can be easily identified by looking at the page title; For instance, on this page, "Help" is the namespace, and "Namespace" is the page title. They are seperated by a double-dot(":") character.
+
 
If a page does not have a namespace, then it is in the Main space - in other words, no matter what you do to a page, it will always be in exactly one namespace. It can not be in multiple namespaces, and it can not be outside of a namespace - these pages - ''may'' - exist, but cannot be viewed, ''if they do''.
+
A page without a namespace is in the '''main namespace''', or "Mainspace" (all pages are in a namespace, even if it is not apparent from the title). Also note that colons do not necessarily indicate a namespace - for example, [[Foo:Example]] is in the main namespace, since the "Foo" namespace does not exist (the page name is "Foo:Example"). [[:Category:DF2012:Flying]] is in the "Category" namespace (the page name is "DF2012:Flying").
  
 
==Uses==
 
==Uses==
 
On this wiki, namespaces are used to categorize pages for versions of Dwarf Fortress - we can also use categories, but that would not allow us to make multiple pages on the same subject for different versions. Any pages in the Main namespace are either the Main Page, or redirects.
 
On this wiki, namespaces are used to categorize pages for versions of Dwarf Fortress - we can also use categories, but that would not allow us to make multiple pages on the same subject for different versions. Any pages in the Main namespace are either the Main Page, or redirects.
Any wiki can have their own use and meaning for namespaces - for instance, a wiki might not use namespaces at all, having every content page in the Main space, and another wiki may have many namespaces in use, each for their own subject. <s>These wikis are often most untidy and unorganized.</s> There is no convention for namespaces that spans across every website running the MediaWiki software, as they are in no way connected(except for cross-wiki affilation).
+
Any wiki can have their own use and meaning for namespaces - for instance, a wiki might not use namespaces at all, having every content page in the Main space, and another wiki may have many namespaces in use, each for their own subject. <s>These wikis are often most untidy and unorganized.</s> There is no convention for namespaces that spans across every website running the MediaWiki software, as they are in no way connected (except for cross-wiki affiliation).
  
 
==List of namespaces==
 
==List of namespaces==
 
Here is a list of every namespace currently in use. Note that every namespace has their own talk namespace, and is named after the parent namespace, suffixed by "Talk". For instance, the talk space for the Help namespaces is named "Help Talk".
 
Here is a list of every namespace currently in use. Note that every namespace has their own talk namespace, and is named after the parent namespace, suffixed by "Talk". For instance, the talk space for the Help namespaces is named "Help Talk".
* 23a: this namespace is for articles about version v0.23.130.23a.
+
 
* 40d: this namespace is for articles about version v0.28.181.40d.
+
Also note that all namespaces (and aliases) are case-insensitive. For example, DF2012 and df2012 are functionally the same (although the wiki will change "df2012" to "DF2012" in titles).
* v0.31: this namespace is for articles about version v0.31.25.
+
* 23a: this namespace is for articles about version 0.23.130.23a.
* DF2012: this namespace is for articles about version v0.34.11, which is the latest version of Dwarf Fortress.
+
* 40d: this namespace is for articles about version 0.28.181.40d.
 +
* v0.31: this namespace is for articles about version 0.31.25.
 +
* v0.34: this namespace is for articles about version 0.34.11
 +
* '''DF2014''': this namespace is for articles about version {{current/version/ns|DF2014}}, which is the latest version of Dwarf Fortress.
 
* Help: this namespace is for articles that describe wiki concepts, or teach new editors how things work.
 
* Help: this namespace is for articles that describe wiki concepts, or teach new editors how things work.
 
* Dwarf Fortress Wiki: These are for projects, wiki rules, and other wiki-specific discussion. Discussions about specific pages should instead go to their own talk page.
 
* Dwarf Fortress Wiki: These are for projects, wiki rules, and other wiki-specific discussion. Discussions about specific pages should instead go to their own talk page.
* Main: These pages should either be redirects or the Main page.
+
* Main: These pages are not specific to a version of DF, including the [[Main Page]], [[orthogonal]], [[ASCII Art Reward]], etc.
* Special: These pages are controlled by the software this wiki is using, and cannot be edited by normal means. They are neccesary for keeping the wiki functional.
+
* Masterwork: These are articles on Masterwork Dwarf Fortress, which is a mod.
* Category: These are the categories that keep the wiki organized in a different way than the namespace system, though none of them can be neglected.
+
* Category: These represent categories, which help organize pages by topic rather than by version.
* User: These pages are for users themselves to make. Every user can make exactly one page in the User space, and they can put whatever they want about themselves there.
+
* User: These pages are for users themselves to make. Logged-in users can create a '''user page''' with information about themselves, DF-related projects, or anything else they want. Users can also create any pages they like in their "userspace", as subpages of their user page. For example, a user named Bob can create User:Bob, User:Bob/sandbox, User:Bob/this/is/a/long/list/of/subpages, and so on. Users should generally avoid editing other users' user pages.
 +
** User talk pages are special: leaving a message on a user's talk page automatically notifies the user. (However, editing user talk subpages does not generate a notification)
 +
 
 +
 
 +
===Special namespaces===
 
* File: These are not actually content pages - anything is this namespace is a media file, and those can be audio, video and pictures.
 
* File: These are not actually content pages - anything is this namespace is a media file, and those can be audio, video and pictures.
 +
* MediaWiki: Pages in this namespace are system messages, controlling text that appears on the wiki (e.g. the sidebar or the "View history" tab). These pages can only be edited by administrators.
 +
* Special: These pages are controlled by the software this wiki is using, and cannot be edited by normal means. They are necessary for a variety of tasks on the wiki.
 +
 +
===Aliases===
 +
{| class="wikitable" style="min-width:30%"
 +
|-
 +
! Alias
 +
! Redirects to
 +
|-
 +
|cv || {{DF:Current}}
 +
|-
 +
|DF2010 || v0.31
 +
|-
 +
|DF || rowspan=2|Dwarf Fortress Wiki
 +
|-
 +
|Project
 +
|-
 +
|MA || Masterwork
 +
|-
 +
|Mod || Modification
 +
|-
 +
|MW || MediaWiki
 +
|}
 +
For example, [[DF2010:Cat]] and [[v0.31:Cat]] link to the same page.

Latest revision as of 20:47, 23 June 2017

A namespace is a prefix in a page's title that serves as a way to organize large groups of pages (in contrast, Categories are added on a page-by-page basis). For instance, this page is in the Help namespace, and DF2012:Alcohol is in the DF2012 namespace. The namespace a page is in can be easily identified by looking at the page title; For instance, on this page, "Help" is the namespace, and "Namespace" is the page name. They are separated by a colon (":").

A page without a namespace is in the main namespace, or "Mainspace" (all pages are in a namespace, even if it is not apparent from the title). Also note that colons do not necessarily indicate a namespace - for example, Foo:Example is in the main namespace, since the "Foo" namespace does not exist (the page name is "Foo:Example"). Category:DF2012:Flying is in the "Category" namespace (the page name is "DF2012:Flying").

Uses[edit]

On this wiki, namespaces are used to categorize pages for versions of Dwarf Fortress - we can also use categories, but that would not allow us to make multiple pages on the same subject for different versions. Any pages in the Main namespace are either the Main Page, or redirects. Any wiki can have their own use and meaning for namespaces - for instance, a wiki might not use namespaces at all, having every content page in the Main space, and another wiki may have many namespaces in use, each for their own subject. These wikis are often most untidy and unorganized. There is no convention for namespaces that spans across every website running the MediaWiki software, as they are in no way connected (except for cross-wiki affiliation).

List of namespaces[edit]

Here is a list of every namespace currently in use. Note that every namespace has their own talk namespace, and is named after the parent namespace, suffixed by "Talk". For instance, the talk space for the Help namespaces is named "Help Talk".

Also note that all namespaces (and aliases) are case-insensitive. For example, DF2012 and df2012 are functionally the same (although the wiki will change "df2012" to "DF2012" in titles).

  • 23a: this namespace is for articles about version 0.23.130.23a.
  • 40d: this namespace is for articles about version 0.28.181.40d.
  • v0.31: this namespace is for articles about version 0.31.25.
  • v0.34: this namespace is for articles about version 0.34.11
  • DF2014: this namespace is for articles about version 0.47.05, which is the latest version of Dwarf Fortress.
  • Help: this namespace is for articles that describe wiki concepts, or teach new editors how things work.
  • Dwarf Fortress Wiki: These are for projects, wiki rules, and other wiki-specific discussion. Discussions about specific pages should instead go to their own talk page.
  • Main: These pages are not specific to a version of DF, including the Main Page, orthogonal, ASCII Art Reward, etc.
  • Masterwork: These are articles on Masterwork Dwarf Fortress, which is a mod.
  • Category: These represent categories, which help organize pages by topic rather than by version.
  • User: These pages are for users themselves to make. Logged-in users can create a user page with information about themselves, DF-related projects, or anything else they want. Users can also create any pages they like in their "userspace", as subpages of their user page. For example, a user named Bob can create User:Bob, User:Bob/sandbox, User:Bob/this/is/a/long/list/of/subpages, and so on. Users should generally avoid editing other users' user pages.
    • User talk pages are special: leaving a message on a user's talk page automatically notifies the user. (However, editing user talk subpages does not generate a notification)


Special namespaces[edit]

  • File: These are not actually content pages - anything is this namespace is a media file, and those can be audio, video and pictures.
  • MediaWiki: Pages in this namespace are system messages, controlling text that appears on the wiki (e.g. the sidebar or the "View history" tab). These pages can only be edited by administrators.
  • Special: These pages are controlled by the software this wiki is using, and cannot be edited by normal means. They are necessary for a variety of tasks on the wiki.

Aliases[edit]

Alias Redirects to
cv DF2014
DF2010 v0.31
DF Dwarf Fortress Wiki
Project
MA Masterwork
Mod Modification
MW MediaWiki

For example, DF2010:Cat and v0.31:Cat link to the same page.