(make tables sortable) |
(add notable namespaces section but with only one header for now) |
||
Line 1: | Line 1: | ||
A '''namespace''' is a collection of pages with similar purpose. It appears as a prefix to page names - this page is named <code>{{PAGENAME}}</code> and is prefixed by the namespace <code>{{NAMESPACE}}</code>. The MediaWiki software has many default namespaces, and | A '''namespace''' is a collection of pages with similar purpose. It appears as a prefix to page names - this page is named <code>{{PAGENAME}}</code> and is prefixed by the namespace <code>{{NAMESPACE}}</code>. The MediaWiki software has many default namespaces, and Yume Wiki uses them for the [[:Category:Wikis|wikis it hosts.]] | ||
Basic information on namespaces can be found on the [https://mediawiki.org/wiki/Help:Namespaces MediaWiki help page.] | Basic information on namespaces can be found on the [https://mediawiki.org/wiki/Help:Namespaces MediaWiki help page.] | ||
Line 9: | Line 9: | ||
Links to the '''File''' and '''Category''' namespaces must be prefixed with a colon <code>:</code>. For example, <code><nowiki>[[File:NoImage.png]]</nowiki></code> will embed the file directly into the page, but <code><nowiki>[[</nowiki><span style="color:red"><b>:</b></span><nowiki>File:NoImage.png]]</nowiki></code> will produce the link [[:File:NoImage.png]]. | Links to the '''File''' and '''Category''' namespaces must be prefixed with a colon <code>:</code>. For example, <code><nowiki>[[File:NoImage.png]]</nowiki></code> will embed the file directly into the page, but <code><nowiki>[[</nowiki><span style="color:red"><b>:</b></span><nowiki>File:NoImage.png]]</nowiki></code> will produce the link [[:File:NoImage.png]]. | ||
==Notable namespaces== | |||
Some namespaces have special importance or function, enough that they are listed separately here. | |||
<!-- TBA add more specific explanations --> | |||
===Main=== | |||
The main namespace, also called the '''mainspace''', is for the bulk of articles on a usual wiki. For Yume Wiki, the mainspace was split off to the sister site, the [https://ynfg.yume.wiki/Main_Page Yume Nikki Fangames Wiki,] which uses it for pages on fangames and [[YumeWiki:Authors#Individual authors|fangame developers]]. The reason for the split is that the wikis were originally split off anyways, and merging them would introduce filename conflicts that cannot be easily resolved. | |||
==List== | ==List== | ||
The below tables list the namespaces of | The below tables list the namespaces of Yume Wiki in addition to some information about them. The most basic part is the '''name'''. This is the prefix the page has and what you use in links. The '''namespace number''' is also listed. This is the "ID" of a namespace, and it is '''always even'''. Adding 1 to the namespace number gives the number of the '''talk space'''. It is the place for discussing the subject page. It has the same namespace except with <code>talk</code> appended. | ||
A clear example of the above: the page you are reading is <code>{{SUBJECTSPACE}}:{{PAGENAME}}</code>. This is in the namespace <code>{{SUBJECTSPACE}}</code> which has the number <code>{{NAMESPACENUMBER:{{SUBJECTSPACE}}:{{PAGENAME}}}}</code>. The page's corresponding talk page is titled <code>{{SUBJECTSPACE}} talk:{{PAGENAME}}</code>. This is in the namespace <code>{{SUBJECTSPACE}} talk</code>, which has a number of <code>{{NAMESPACENUMBER:{{TALKSPACE}}:{{PAGENAME}}}}</code>. | A clear example of the above: the page you are reading is <code>{{SUBJECTSPACE}}:{{PAGENAME}}</code>. This is in the namespace <code>{{SUBJECTSPACE}}</code> which has the number <code>{{NAMESPACENUMBER:{{SUBJECTSPACE}}:{{PAGENAME}}}}</code>. The page's corresponding talk page is titled <code>{{SUBJECTSPACE}} talk:{{PAGENAME}}</code>. This is in the namespace <code>{{SUBJECTSPACE}} talk</code>, which has a number of <code>{{NAMESPACENUMBER:{{TALKSPACE}}:{{PAGENAME}}}}</code>. |
Revision as of 06:38, 21 August 2024
A namespace is a collection of pages with similar purpose. It appears as a prefix to page names - this page is named Namespaces
and is prefixed by the namespace Help
. The MediaWiki software has many default namespaces, and Yume Wiki uses them for the wikis it hosts.
Basic information on namespaces can be found on the MediaWiki help page.
Usage
You will most commonly see namespaces used in wikilinks. To link to a page on the Yume Nikki Wiki, you must write [[Yume Nikki:Uboa|Uboa]]
. You also see them when hovering over links. Rarely, the prefix appears in the page title at the start. This is all due to the way namespaces are used to separate wikis. Putting wikis in different namespaces creates a static and consistent way to identify pages: Yume Nikki:Hell will not be confused with Dotflow:Hell. Another positive is having different styles when viewing pages using the default skin.
Namespaces are also seen prefixed to pages listed in categories. This can be useful when a category has pages from multiple namespaces (such as Category:Article Stubs), but is otherwise redundant. There is no way to hide them.
Links to the File and Category namespaces must be prefixed with a colon :
. For example, [[File:NoImage.png]]
will embed the file directly into the page, but [[:File:NoImage.png]]
will produce the link File:NoImage.png.
Notable namespaces
Some namespaces have special importance or function, enough that they are listed separately here.
Main
The main namespace, also called the mainspace, is for the bulk of articles on a usual wiki. For Yume Wiki, the mainspace was split off to the sister site, the Yume Nikki Fangames Wiki, which uses it for pages on fangames and fangame developers. The reason for the split is that the wikis were originally split off anyways, and merging them would introduce filename conflicts that cannot be easily resolved.
List
The below tables list the namespaces of Yume Wiki in addition to some information about them. The most basic part is the name. This is the prefix the page has and what you use in links. The namespace number is also listed. This is the "ID" of a namespace, and it is always even. Adding 1 to the namespace number gives the number of the talk space. It is the place for discussing the subject page. It has the same namespace except with talk
appended.
A clear example of the above: the page you are reading is Help:Namespaces
. This is in the namespace Help
which has the number 12
. The page's corresponding talk page is titled Help talk:Namespaces
. This is in the namespace Help talk
, which has a number of 13
.
For the default and extension namespaces, the purpose of the namespace is described. For the wiki namespaces, it shows the shortened form used in URLs, and for most of them an abbreviated form that you may see people use.
Namespace | Number | Purpose |
---|---|---|
Media | -2 | Used to link directly to images: Media:NoImage.png. Has no talk page equivalent. |
Special | -1 | Used for all the special pages, which are lists or tools managed by the software. |
(Main) | 0 | The main space for articles. It has no prefix and the talk space is just Talk:
|
User | 2 | User pages. If you made an account, you can create one under your name. Protected so only the users themselves and admins can edit. |
YumeWiki | 4 | The "Project" namespace uses the site name and is used for meta talk. |
File | 6 | All the files you upload are found here. |
MediaWiki | 8 | Pages for important parts of the wiki such as system messages and interface CSS. |
Template | 10 | The default namespace for transcluding pages using {{curly braces}}. |
Help | 12 | Helps you help us with the wiki. You are here. |
Category | 14 | Categories allow pages (and other categories) to be sorted. Used plenty as lists of pages. |
Namespace | Number | Purpose |
---|---|---|
Property | 102 | Semantic MediaWiki (SMW) properties that are applied to pages and subobjects. |
Unused | 104 | |
Form | 106 | Used by the Page Forms extension for the page forms. |
Concept | 108 | Could be used as pseudo-categories for Semantic MediaWiki. Unused on YumeWiki. |
Forum | 110 | Supposedly for forums. Not implemented on YumeWiki. |
Rule | 112 | Currently unused. See the SMW namespace help page here. |
smw/schema | 114 | Seemingly for SMW related settings. |
… | … | … |
Widget | 274 | The Widgets extension is for transcluding templates made in raw HTML instead of wiki parsing. |
… | … | … |
TimedText | 710 | Used by the TimedMediaHandler extension. |
… | … | … |
Module | 828 | Lua scripts for Scribunto. |
… | … | … |
Gadget | 2300 | Javascript or CSS tweaks that can be applied in the user preferences page - extension link |
Gadget definition | 2302 | Alternate place for defining gadgets; see here. |
Namespace | Number | URL | Abbr |
---|---|---|---|
Yume Nikki | 3000 | yume | YN |
Yume 2kki | 3002 | 2kki | Y2 |
Dotflow | 3004 | flow | DF |
Someday | 3006 | someday | SD |
Deep Dreams | 3008 | deepdreams | DD |
Answered Prayers | 3010 | prayers | AP |
Amillusion | 3012 | amillusion | AM |
Uneven Dream | 3014 | unevendream | UD |
Braingirl | 3016 | braingirl | BG |
Collective Unconscious | 3018 | unconscious | CU |
Cerasus | 3020 | cerasus | |
Muma Rope | 3022 | muma | MR |
YNOproject | 3024 | ynoproject | YNO |
Dream Genie | 3026 | genie | DG |
Mikan Muzou | 3028 | mikan | MM |
Ultra Violet | 3030 | ultraviolet | UV |
She Awaits | 3032 | sheawaits | SA |
Oversomnia | 3034 | oversomnia | OS |
Yume Tagai | 3036 | tagai | |
Yume Tsushin | 3038 | tsushin | YT |
NostAlgic | 3040 | nostalgic | NA |