555.591
измена
м (Превођење именских простора) |
м (Превођење магичних речи) |
||
{{превод}}
Page titles in MediaWiki are composed of two parts: an optional namespace name, and the remainder of the title. For example, this page has the title <nowiki>[[</nowiki>{{
By default, a wiki using the [[w:MediaWiki|MediaWiki]] software has 18 '''namespaces''', including:
|<nowiki>{{ns:-0}}</nowiki>
|<nowiki>{{ns:Main}}</nowiki>
|[{{
|{{PAGESINNS:0}}
|main namespace, no prefix, or optionally a colon (this is needed when using the page as template)
|<nowiki>{{ns:1}}</nowiki>
|<nowiki>{{ns:Talk}}</nowiki>
|[{{
|{{PAGESINNS:1}}
|see [[:Help:Talk page]] for this and the following odd-numbered namespaces
|<nowiki>{{ns:2}}</nowiki>
|<nowiki>{{ns:User}}</nowiki>
|[{{
|{{PAGESINNS:2}}
|logged-in users (list: [[Special:Listusers]]) have a user homepage User:''username'' (linked to by the system from user names in [[Help:Edit_summary#Places_where_the_edit_summary_appears|lists of edits]], e.g. on [[Help:Page history|page histories]], and from signatures on talk pages); this and [[Help:Link#Subpage_feature|subpages]] of it can be used to present oneself, for project-related bookmarks, and for drafts, tests, and other working material. One can put here material to give oneself one-step access to it from any page in the same project, and one can put here links to give oneself two-step access to the link targets from any page in the same project as the user page. For users who do not log in, the same applies, with the IP as username. Dynamic IPs are a complication.
|<nowiki>{{ns:3}}</nowiki>
|<nowiki>{{ns:User_talk}}</nowiki>
|[{{
|{{PAGESINNS:3}}
|
|<nowiki>{{ns:4}}</nowiki>
|<nowiki>{{ns:Project}}</nowiki>
|[{{
|{{PAGESINNS:4}}
|the project namespace for matters ''about'' the project, such as guidelines and discussions; see also the Help namespace
|<nowiki>{{ns:5}}</nowiki>
|<nowiki>{{ns:Project_talk}}</nowiki>
|[{{
|{{PAGESINNS:5}}
|
|<nowiki>{{ns:6}}</nowiki>
|<nowiki>{{ns:Image}}</nowiki>
|[{{
|{{PAGESINNS:6}}
|[[help:images and other uploaded files|images and other uploaded files]], with [[Help:Image description page|image description page]]s (list: [[Special:Imagelist]])
|<nowiki>{{ns:7}}</nowiki>
|<nowiki>{{ns:Image_talk}}</nowiki>
|[{{
|{{PAGESINNS:7}}
|
|<nowiki>{{ns:8}}</nowiki>
|<nowiki>{{ns:MediaWiki}}</nowiki>
|[{{
|{{PAGESINNS:8}}
|system messages (list: [[Special:Allmessages]]), editable by users, or if protected, by sysops
|<nowiki>{{ns:9}}</nowiki>
|<nowiki>{{ns:MediaWiki_talk}}</nowiki>
|[{{
|{{PAGESINNS:9}}
|
|<nowiki>{{ns:10}}</nowiki>
|<nowiki>{{ns:Template}}</nowiki>
|[{{
|{{PAGESINNS:10}}
|the default namespace for [[help:template|template]]s: the wikitext code <nowiki>{{</nowiki>''name'' }} refers to and includes the page Template:''name''
|<nowiki>{{ns:11}}</nowiki>
|<nowiki>{{ns:Template_talk}}</nowiki>
|[{{
|{{PAGESINNS:11}}
|
|<nowiki>{{ns:12}}</nowiki>
|<nowiki>{{ns:Help}}</nowiki>
|[{{
|{{PAGESINNS:12}}
|typically used for the MediaWiki User's Guide, with the wikitext a frequently refreshed copy of the master version on Meta-Wikipedia, but with project-specific templates
|<nowiki>{{ns:13}}</nowiki>
|<nowiki>{{ns:Help_talk}}</nowiki>
|[{{
|{{PAGESINNS:13}}
|
|<nowiki>{{ns:14}}</nowiki>
|<nowiki>{{ns:Category}}</nowiki>
|[{{
|{{PAGESINNS:14}}
|each page (list: [[Special:Categories]]) represents a [[Help:Category|category]] of pages, with each category page displaying a list of pages in that category and optional additional text.
|<nowiki>{{ns:15}}</nowiki>
|<nowiki>{{ns:Category_talk}}</nowiki>
|[{{
|{{PAGESINNS:15}}
|
==Colon in page name==
Adding a colon to a page name does not automatically create a new namespace. To see the namespace of a page, use <nowiki>{{NAMESPACE}}</nowiki> which returns the namespace. For this page it returns "{{
To take some examples from '''Wiktionary''': [[m:wikt:Wiktionary:FAQ|Wiktionary:FAQ]] has Talk page [[m:wikt:Wiktionary talk:FAQ|Wiktionary talk:FAQ]], but [[m:wikt:Wiktionary Appendix:Colours|Wiktionary Appendix:Colours]] has Talk page [[m:wikt:Talk:Wiktionary Appendix:Colours|Talk:Wiktionary Appendix:Colours]], because the first is in the project preface namespace and the second is not. In [[m:wikt:Special:Allpages|Special:Allpages]], accordingly, the first is, unlike the second, not in the list of articles, but in the page list of the namespace Wiktionary.
*[[Help:Talk page]]
*[[Help:Template]]
*[[
*[[m:Help:Namespace manager]]
*[[m:Help:Custom namespaces]]
|