v0.1+
Status: | effective |
Progress: | 100% |
Version: | 0.1+ |
Help:Namespace prefix
From semantic-mediawiki.org
Subjects that are distinguished by a namespace prefix (separated with a colon :
) represent the broadest level of classification that the MediaWiki software has build-in support.
Query usage[edit]
According to Magic words (Page names), {{PAGENAME}}
contains the "Full page title (including all subpage levels) without the namespace" where {{FULLPAGENAME}}
is to hold the "Namespace and full page title (including all subpage levels)".
For example, a subject User:Foo
with a query containing either {{FULLPAGENAME}}
or {{PAGENAME}}
will differ in its results:
{{#show: {{FULLPAGENAME}} |?Modification date#MEDIAWIKI }}
where{{FULLPAGENAME}}
creates a reference to[[User:Foo]]
{{#show: {{PAGENAME}} |?Modification date#MEDIAWIKI }}
with{{PAGENAME}}
is expected to create a reference to[[Foo]]
See also[edit]
- Help page on search namespace restrictions
- Help page on namespaces
- Help page on namespaces (mediawiki.org)