Помоћ:Именски простор — разлика између измена

Превођење магичних речи
м (Превођење именских простора)
м (Превођење магичних речи)
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>{{NAMESPACEИМЕНСКИПРОСТОР}}:{{PAGENAMEСТРАНИЦА}}<nowiki>]]</nowiki>, so it is in the ''{{NAMESPACEИМЕНСКИПРОСТОР}} namespace''. A title without a colon, for example <nowiki>[[Goings-on]]</nowiki>, is in the ''main namespace''.
By default, a wiki using the [[w:MediaWiki|MediaWiki]] software has 18 '''namespaces''', including:
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=0}} main]
|main namespace, no prefix, or optionally a colon (this is needed when using the page as template)
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=1}} {{ns:1}}]
|see [[:Help:Talk page]] for this and the following odd-numbered namespaces
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=2}} {{ns: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.
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=3}} {{ns:3}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=4}} {{ns:4}}]
|the project namespace for matters ''about'' the project, such as guidelines and discussions; see also the Help namespace
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=5}} {{ns:5}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=6}} {{ns:6}}]
|[[help:images and other uploaded files|images and other uploaded files]], with [[Help:Image description page|image description page]]s (list: [[Special:Imagelist]])
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=7}} {{ns:7}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=8}} {{ns:8}}]
|system messages (list: [[Special:Allmessages]]), editable by users, or if protected, by sysops
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=9}} {{ns:9}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=10}} {{ns:10}}]
|the default namespace for [[help:template|template]]s: the wikitext code <nowiki>{{</nowiki>''name'' }} refers to and includes the page Template:''name''
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=11}} {{ns:11}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=12}} {{ns: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
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=13}} {{ns:13}}]
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=14}} {{ns: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.
|[{{SERVERСЕРВЕР}}{{localurl:Special:Allpages|namespace=15}} {{ns: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 "{{NAMESPACEИМЕНСКИПРОСТОР}}". The same code would return an empty string for a page in the main namespace. Similarly, <nowiki>{{PAGENAME}}</nowiki> returns the page name without prefix. For this page it returns "{{PAGENAMEСТРАНИЦА}}". <nowiki>{{FULLPAGENAME}}</nowiki> returns both namespace and pagename; for this page, that is "{{FULLPAGENAME}}".
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]]
*[[m:Help:Namespace manager]]
*[[m:Help:Custom namespaces]]