Difference between revisions of "Namespaces"
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Feature | {{Feature | ||
− | | | + | |explains= Special:PrefixIndex |
− | | | + | |description= Using the namespaces feature of MediaWiki, you can setup areas that segregate content. Although MediaWiki is not a CMS designed for roles and access permissions, it nevertheless can be useful to segregate content in a wiki that should be 'nearby', but not in the same space. |
− | | | + | |notes= |
+ | |tests= | ||
+ | |examples= setup a 'private' namespace which is access restricted so that only a certain class of user can access that space. Because MediaWiki is not a CMS, pages in the private namespace would still show up in a search. However, the content would only be accessible to the group you set it to. So, you wouldn't use this feature to setup a space reserved for the 'human resources' group, and then draft a 'layoff' announcement because although nobody outside the HR group could read the announcement, it's existence would be knowable. On the other hand, 'status-update' wouldn't give too much of a clue about what the contents were. | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
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]] |
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 18: | Line 16: | ||
E.g. | E.g. | ||
<nowiki>[[Category:Development]]</nowiki> 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. <nowiki>[[:Category:Development]]</nowiki> | <nowiki>[[Category:Development]]</nowiki> 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. <nowiki>[[:Category:Development]]</nowiki> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Alternatives == | == Alternatives == | ||
Line 40: | Line 22: | ||
== See Also == | == See Also == | ||
[[Interwiki links]] | [[Interwiki links]] | ||
+ | |||
[[Category:Wiki]] | [[Category:Wiki]] |
Revision as of 12:26, 5 February 2016
There is a short list of namespaces that are built into this wiki
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.