Difference between revisions of "Namespaces"
m |
|||
Line 8: | Line 8: | ||
There is a short list of namespaces that are built into this wiki | There is a short list of namespaces that are built into this wiki | ||
− | [[Special:PrefixIndex]] | + | [[Special:PrefixIndex]] is a friendly interface to the namespaces. This [{{SERVER}}{{SCRIPTPATH}}/api.php?action=query&meta=siteinfo&siprop=namespaces&formatversion=2 api query] is the machine method for looking at this wiki's namespaces. |
You can find out more about them in the [[w:Wikipedia:Namespace]] page. | You can find out more about them in the [[w:Wikipedia:Namespace]] page. | ||
Line 22: | Line 22: | ||
== See Also == | == See Also == | ||
[[Interwiki links]] | [[Interwiki links]] | ||
− | |||
[[Category:Wiki]] | [[Category:Wiki]] |
Revision as of 10:43, 3 April 2018
There is a short list of namespaces that are built into this wiki
Special:PrefixIndex is a friendly interface to the namespaces. This api query is the machine method for looking at this wiki's namespaces.
You can find out more about them in the w:Wikipedia:Namespace page.
You can reference a particular namespace in a link using a Compact URI (CURIE) syntax
E.g. [[Category:Development]] will link to the page 'Development' inside the Category namespace. Built-in namespaces are also tied to built-in functionality so for example an 'Image' link inserts that image into the page. And the 'Category' namespace is tied to the functionality of tagging an article as belonging to the category. So, to actually link to the category (or image) you would place a : (colon) before the prefix. e.g. [[:Category:Development]]
Alternatives[edit | edit source]
An alternative to namespaces is to setup a "wiki farm" where each group or product, or purpose has it's own individual wiki, all running on a single software instance to reduce administrative overhead.