Jump to content

උදවු:නාම අවකාශ

Wikibooks වෙතින්

අවකාශ ලැයිස්තුව

[සංස්කරණය]

The two virtual namespaces, main namespace and 15 auxiliary namespaces in this project (Meta) are as follows (the variables for them are also shown).

Variables Alternate syntax Name, linked to list of all such pages Number of pages[1] Notes
{{ns:-2}} {{ns:media}} "මාධ්‍යය"   virtual namespace for images and other files themselves, as opposed to the image description pages; see also below
{{ns:-1}} {{ns:special}} "විශේෂ"   virtual namespace for special pages (list: Special:SpecialPages)
{{ns:0}} disabled main namespace, no prefix, or optionally a colon (this is needed when using the page as template)
{{ns:1}} {{ns:talk}} disabled see Help:Talk page for this and the following odd-numbered namespaces
{{ns:2}} {{ns:user}} disabled registered users (list: Special:ListUsers) have a user homepage User:username (linked to by the system from user names in lists of edits, e.g. on page histories, and from signatures on talk pages); this and 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.
{{ns:3}} {{ns:user_talk}} disabled  
{{ns:4}} {{ns:project}} disabled the project namespace for matters about the project, such as guidelines and discussions; see also the [[Help:|Help:]] namespace
{{ns:5}} {{ns:project_talk}} disabled  
{{ns:6}} {{ns:file}} disabled images and other uploaded files, with image description pages (list: Special:ListFiles)
{{ns:7}} {{ns:file_talk}} disabled  
{{ns:8}} {{ns:mediawiki}} disabled system messages (list: Special:AllMessages), editable by users, or if protected, by sysops
{{ns:9}} {{ns:mediawiki_talk}} disabled  
{{ns:10}} {{ns:template}} disabled the default namespace for templates: the wikitext code {{name }} refers to and includes the page Template:name
{{ns:11}} {{ns:template_talk}} disabled  
{{ns:12}} {{ns:help}} disabled 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
{{ns:13}} {{ns:help_talk}} disabled  
{{ns:14}} {{ns:category}} disabled each page (list: Special:Categories) represents a category of pages, with each category page displaying a list of pages in that category and optional additional text.
{{ns:15}} {{ns:category_talk}} disabled  

Note that all characters of namespace prefixes are case-insensitive, so one can write, for example, "mediawiki". Also, underscores in namespace prefixes are equivalent to any non-zero number of spaces (leading or trailing spaces or underscores are ignored) : underscores are used only when encoding URLs but treated otherwise like spaces.

These names are set in the MessagesXX.php language files. The English defaults are below:

$namespaceNames = array(
    NS_MEDIA            => 'Media',
    NS_SPECIAL          => 'Special',
    NS_MAIN                => '',
    NS_TALK                => 'Talk',
    NS_USER             => 'User',
    NS_USER_TALK        => 'User_talk',
    # NS_PROJECT set by $wgMetaNamespace
    NS_PROJECT_TALK     => '$1_talk',
    NS_FILE             => 'File',
    NS_FILE_TALK        => 'File_talk',
    NS_MEDIAWIKI        => 'MediaWiki',
    NS_MEDIAWIKI_TALK   => 'MediaWiki_talk',
    NS_TEMPLATE         => 'Template',
    NS_TEMPLATE_TALK    => 'Template_talk',
    NS_HELP             => 'Help',
    NS_HELP_TALK        => 'Help_talk',
    NS_CATEGORY         => 'Category',
    NS_CATEGORY_TALK    => 'Category_talk',
);
  1. The number of pages in each namespace may not be displayed on all MediaWiki projects, because this counting feature may be disabled: on this Wiki, per-namespace page counting is currently disabled.
"https://si.wikibooks.org/w/index.php?title=උදවු:නාම_අවකාශ&oldid=13104" වෙතින් සම්ප්‍රවේශනය කෙරිණි