(create page) |
(→Notable namespaces: special page section with link to Help:Special pages) |
||
(5 intermediate revisions by the same user not shown) | |||
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 Yume Wiki uses them for the [[:Category:Wikis|wikis it hosts.]] | |||
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 | |||
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.] | ||
==Usage== | |||
You will most commonly see namespaces used in '''wikilinks'''. To link to a page on the ''Yume Nikki'' Wiki, you must write <code><nowiki>[[Yume Nikki:Uboa|Uboa]]</nowiki></code>. 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<!--Cosmos-->. | |||
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.<!--If a way does get added, this will need to be changed--> | |||
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. | |||
===Special=== | |||
The Special namespace is reserved for [[Help:Special pages|special pages]], which have a unique function instead of holding content. This can be information about the wiki, lists of content for maintenance purposes, or tools that are helpful for finding and editing content. | |||
==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 in the namespace <code>{{SUBJECTSPACE}}</code> which has the number <code>{{NAMESPACENUMBER}}</code>. The | 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>. | ||
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. | 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. | ||
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%; text-align:center;" | {| class="wikitable mw-collapsible mw-collapsed sortable" style="width:100%; text-align:center;" | ||
|+Default Namespaces | |+ <span id="Default Namespaces">Default Namespaces</span> | ||
!style="width:10ch"|Namespace | !style="width:10ch"|Namespace | ||
!style="width:1px"|Number | !style="width:1px"|Number | ||
!Purpose | !class="unsortable"|Purpose | ||
|- | |- | ||
|Media | |Media | ||
Line 31: | Line 47: | ||
|User | |User | ||
|2 | |2 | ||
|User pages. If you made an account, you | |User pages. If you made an account, you can create one under your name. Protected so only the users themselves and admins can edit. | ||
|- | |- | ||
|{{SITENAME}} | |{{SITENAME}} | ||
Line 43: | Line 59: | ||
|MediaWiki | |MediaWiki | ||
|8 | |8 | ||
| | |Pages for important parts of the wiki such as system messages and interface CSS. | ||
|- | |- | ||
|Template | |Template | ||
Line 55: | Line 71: | ||
|Category | |Category | ||
|14 | |14 | ||
|Categories allow pages (and other categories) to be sorted | |Categories allow pages (and other categories) to be sorted. Used plenty as lists of pages. | ||
|} | |} | ||
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%; text-align:center;" | {| class="wikitable mw-collapsible mw-collapsed sortable" style="width:100%; text-align:center;" | ||
|+Extension Namespaces | |+ <span id="Extension Namespaces">Extension Namespaces</span> | ||
!style="width:10ch"|Namespace | !style="width:10ch"|Namespace | ||
!style="width:1px"|Number | !style="width:1px"|Number | ||
!Purpose | !class="unsortable"|Purpose | ||
|- | |- | ||
|Property | |Property | ||
Line 82: | Line 98: | ||
|Forum | |Forum | ||
|110 | |110 | ||
|Supposedly for forums. | |Supposedly for forums. Not implemented on {{SITENAME}}. | ||
|- | |- | ||
|Rule | |Rule | ||
Line 92: | Line 108: | ||
|Seemingly for SMW related settings. | |Seemingly for SMW related settings. | ||
|- | |- | ||
|… | |data-sort-value=z|… | ||
|… | |data-sort-value=3000|… | ||
|… | |… | ||
|- | |- | ||
|Widget | |Widget | ||
|274 | |274 | ||
| | |The [https://mediawiki.org/wiki/Extension:Widgets Widgets extension] is for transcluding templates made in raw HTML instead of wiki parsing. | ||
|- | |- | ||
|… | |data-sort-value=z|… | ||
|… | |data-sort-value=3000|… | ||
|… | |… | ||
|- | |- | ||
Line 108: | Line 124: | ||
|Used by the [https://mediawiki.org/wiki/Extension:TimedMediaHandler TimedMediaHandler] extension. | |Used by the [https://mediawiki.org/wiki/Extension:TimedMediaHandler TimedMediaHandler] extension. | ||
|- | |- | ||
|… | |data-sort-value=z|… | ||
|… | |data-sort-value=3000|… | ||
|… | |… | ||
|- | |- | ||
|Module | |Module | ||
|828 | |828 | ||
|Lua scripts for [https://mediawiki.org/wiki/Extension:Scribunto Scribunto] | |Lua scripts for [https://mediawiki.org/wiki/Extension:Scribunto Scribunto.] | ||
|- | |- | ||
|… | |data-sort-value=z|… | ||
|… | |data-sort-value=3000|… | ||
|… | |… | ||
|- | |- | ||
Line 129: | Line 145: | ||
|} | |} | ||
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%; text-align:center;" | {| class="wikitable mw-collapsible mw-collapsed sortable" style="width:100%; text-align:center;" | ||
|+Wiki Namespaces | |+ <span id="Wiki Namespaces">Wiki Namespaces</span> | ||
!style="width:10ch"|Namespace | !style="width:10ch"|Namespace | ||
! | !Number | ||
! | !URL | ||
! | !<span class="explain" title="These are technically a standard for YNO badge files uploaded to the wiki. Unofficial otherwise." tabindex="0">Abbr</span> | ||
|- | |- | ||
|Yume Nikki | |Yume Nikki | ||
Line 146: | Line 162: | ||
|Y2 | |Y2 | ||
|- | |- | ||
|<span title="Game is .flow" tabindex="0" | |<span class="explain" title="Game is .flow" tabindex="0">Dotflow</span> | ||
|3004 | |3004 | ||
|flow | |flow | ||
Line 241: | Line 257: | ||
|NA | |NA | ||
|} | |} | ||
[[Category:Help]] | [[Category:Help]] | ||
[[Category:Editing help]] | [[Category:Editing help]] |
Latest revision as of 03:18, 16 November 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.
Special
The Special namespace is reserved for special pages, which have a unique function instead of holding content. This can be information about the wiki, lists of content for maintenance purposes, or tools that are helpful for finding and editing content.
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 |