(create page) |
(add info, switch section order) |
||
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 {{SITENAME}} 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 {{SITENAME}} 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.] | ||
==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]]. | |||
==List== | ==List== | ||
Line 98: | Line 104: | ||
|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. | ||
|- | |- | ||
|… | |… | ||
Line 114: | Line 120: | ||
|Module | |Module | ||
|828 | |828 | ||
|Lua scripts for [https://mediawiki.org/wiki/Extension:Scribunto Scribunto] | |Lua scripts for [https://mediawiki.org/wiki/Extension:Scribunto Scribunto.] | ||
|- | |- | ||
|… | |… | ||
Line 241: | Line 247: | ||
|NA | |NA | ||
|} | |} | ||
[[Category:Help]] | [[Category:Help]] | ||
[[Category:Editing help]] | [[Category:Editing help]] |
Revision as of 19:30, 26 June 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 YumeWiki 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.
List
The below tables list the namespaces of YumeWiki 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 place for discussion about the subject page. It has the same name except with talk
appended.
A clear example of the above: the page you are reading is in the namespace Help
which has the number 12
. The equivalent talk page is 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.