Help:Namespace: Difference between revisions
m (Text replacement - "Category:HelpCategory:Help under review" to "Category:Help") |
m (Text replacement - "Saintapedia" to "USApedia") |
||
Line 1: | Line 1: | ||
{{Notice|Please see [[Wikipedia:Wikipedia:Namespace|this Wikipedia page]] for a complete and thorough description of namespaces, including determining the numbering for namespaces.}} | {{Notice|Please see [[Wikipedia:Wikipedia:Namespace|this Wikipedia page]] for a complete and thorough description of namespaces, including determining the numbering for namespaces.}} | ||
{{Namespaces}}{{Help Box}} | {{Namespaces}}{{Help Box}} | ||
A '''namespace''' is a like a drawer in a file cabinet. It allows users of | A '''namespace''' is a like a drawer in a file cabinet. It allows users of USApedia to store different types of material in different file drawers. Most users only see the "Main" user space. It is where all of the [[Three Core Principles|topical articles]] are created. However, there are a number of other file drawers that serve specific purposes. Wikipedia has a {{W|Wikipedia:Namespace|comprehensive article on namespaces}}. | ||
Except for the Main namespace, articles stored in the other namespaces are always preceded by the name of the namespace. Examples: | Except for the Main namespace, articles stored in the other namespaces are always preceded by the name of the namespace. Examples: | ||
Line 16: | Line 16: | ||
=== Help === | === Help === | ||
''Help''' (prefix '''Help:'''): contains pages which provide help in using | ''Help''' (prefix '''Help:'''): contains pages which provide help in using USApedia and its software, both for users of the collaboration tool and for editors. | ||
=== File === | === File === | ||
Line 24: | Line 24: | ||
=== User === | === User === | ||
'''[[ | '''[[USApedia:User pages|User]]''' (prefix '''User:'''): contains user pages and other pages created by individual users for their own personal use. Pages under this namespace can still be viewed and modified by others, so do not keep any of your sensitive data here. | ||
=== Template === | === Template === | ||
'''[[ | '''[[USApedia:Template namespace|Template]]''' (prefix '''Template:'''): contains templates – pages that are intended primarily to be [[Help:Transclusion|transcluded]] or {{W|Wikipedia:Substitution|substituted}} onto other pages to insert standard text or boxes such as infoboxes and navigation boxes. | ||
=== | === USApedia === | ||
'''[[ | '''[[USApedia:USApedia namespace|USApedia]]''' (prefix '''USApedia:'''): contains many types of pages connected with the USApedia project itself. | ||
=== Mediawiki === | === Mediawiki === | ||
'''[[ | '''[[USApedia:MediaWiki namespace|MediaWiki]]''' (prefix '''MediaWiki:'''): a namespace containing interface texts, such as the links and messages that appear on automatically generated pages. Pages in this namespace are permanently [[Wikipedia:Protection policy|protected]]. For a list of these messages, see [[Special:AllMessages]] and {{Mw|article=Help:System message}}. | ||
=== Category === | === Category === | ||
Line 178: | Line 178: | ||
* Category talk - NS_CATEGORY_TALK | * Category talk - NS_CATEGORY_TALK | ||
* Portal - NS_PORTAL<ref name="PortalNamespace">[[ | * Portal - NS_PORTAL<ref name="PortalNamespace">[[USApedia:Development ideas#Adding namespace]]</ref> | ||
* Portal talk - NS_PORTAL_TALK<ref name="PortalNamespace" /> | * Portal talk - NS_PORTAL_TALK<ref name="PortalNamespace" /> | ||
Line 184: | Line 184: | ||
==Searching namespaces== | ==Searching namespaces== | ||
By default, the search box will only search the main article space. Users can tell | By default, the search box will only search the main article space. Users can tell USApedia which namespaces they'd like to search within by going to the "Search" tab within [[Special:Preferences|my preferences]]. Users can also tell USApedia to search in other namespaces on any given search by scrolling to the bottom of the search results, selecting which namespaces you want to search, and then running the search again. | ||
==Related== | ==Related== |
Latest revision as of 00:08, 15 November 2024
![]() |
Please see this Wikipedia page for a complete and thorough description of namespaces, including determining the numbering for namespaces. |
USApedia namespaces[1] | |||
---|---|---|---|
Basic namespaces | Talk namespaces | ||
0 | Main | Talk | 1 |
2 | User | User talk | 3 |
4 | USApedia | USApedia talk | 5 |
6 | File | File talk | 7 |
8 | MediaWiki | MediaWiki talk | 9 |
10 | Template | Template talk | 11 |
12 | Help | Help talk | 13 |
14 | Category | Category talk | 15 |
100 | Portal | Portal talk | 101 |
106 | Form | Form talk | 107 |
420 | GeoJson | GeoJson talk | 421 |
828 | Module | Module talk | 829 |
844 | CommentStreams | CommentStreams talk | 845 |
2300 | Gadget | Gadget talk | 2301 |
2302 | Gadget definition | Gadget definition talk | 2303 |
Virtual namespaces | |||
-1 | Special | ||
A namespace is a like a drawer in a file cabinet. It allows users of USApedia to store different types of material in different file drawers. Most users only see the "Main" user space. It is where all of the topical articles are created. However, there are a number of other file drawers that serve specific purposes. Wikipedia has a comprehensive article on namespaces.
Except for the Main namespace, articles stored in the other namespaces are always preceded by the name of the namespace. Examples:
- Help:Renaming indicates there is an article about Renaming that is contained in the "Help" namespace.
Namespaces
Main
Main (no prefix): contains all articles, lists, disambiguation pages, and redirects. Sometimes referred to as "mainspace".
Help
Help' (prefix Help:): contains pages which provide help in using USApedia and its software, both for users of the collaboration tool and for editors.
File
File (prefix File:): contains file description pages for image, videos or audio files, with links to the files themselves. See Special:Filelist.
User
User (prefix User:): contains user pages and other pages created by individual users for their own personal use. Pages under this namespace can still be viewed and modified by others, so do not keep any of your sensitive data here.
Template
Template (prefix Template:): contains templates – pages that are intended primarily to be transcluded or substituted onto other pages to insert standard text or boxes such as infoboxes and navigation boxes.
USApedia
USApedia (prefix USApedia:): contains many types of pages connected with the USApedia project itself.
Mediawiki
MediaWiki (prefix MediaWiki:): a namespace containing interface texts, such as the links and messages that appear on automatically generated pages. Pages in this namespace are permanently protected. For a list of these messages, see Special:AllMessages and Help:System message .
Category
Category (prefix Category:): contains category pages, which display a list of pages and subcategories that have been added to a particular category, and optional additional text.
Portals
Portals (prefix Portals:): for reader-oriented portals that help readers find articles related to a specific topic, and may contain links to encourage contributions to relevant WikiProjects.
Module
This is where Scribunto modules are stored.
Page Forms
ID | Name | Constant | Remark |
---|---|---|---|
106 | Form: | PF_NS_FORM | Prior to the extension being renamed, this namespace's constant name was SF_NS_FORM .
|
107 | Form_talk: | PF_NS_FORM_TALK | Prior to the extension being renamed, this namespace's constant name was SF_NS_FORM_TALK .
|
Layer
Layer (prefix Layer:) is the default namespace for Maps
ID | Name | Constant | Remark |
---|---|---|---|
420 | GeoJson: | NS_GEO_JSON | Formerly named "Layer" (Maps_NS_LAYER ).
|
421 | GeoJson_talk: | NS_GEO_JSON_TALK | Formerly named "Layer_talk" (Maps_NS_LAYER_TALK )
|
CommentStreams
ID | Name | Constant | Remark |
---|---|---|---|
844 | CommentStreams: | NS_COMMENTSTREAMS | may be overridden by $wgCommentStreamsNamespaceIndex |
845 | CommentStreams_talk: | NS_COMMENTSTREAMS_TALK | Presently unused. |
Gadgets
ID | Name | Constant | Remark |
---|---|---|---|
2300 | Gadget: | NS_GADGET | |
2301 | Gadget_talk: | NS_GADGET_TALK | |
2302 | Gadget_definition: | NS_GADGET_DEFINITION | |
2303 | Gadget_definition_talk: | NS_GADGET_DEFINITION_TALK |
Talk namespaces
Each of the namespaces also has a corresponding "talk" namespace (i.e. Help_talk). The "discussion tab" associated with each article links to the corresponding "talk" namespace article. In all cases except the main article space, the talk namespace takes the form [[Namespace_talk:<article name>]] (e.g. Help_talk:Contents). For the main article space, it simply takes the form [[Talk:<article title>]]
Special namespace
The Special: namespace consists of pages (called special pages) that are created by the software on demand, such as Special:RecentChanges. These pages can be linked as usual, as [[Special:RecentChanges]], except when they have parameters, when the full URL must be given like an external link. For example, https://openusaproject.com/w/index.php?title=Special:Recentchanges&days=3&limit=10, which returns the last ten changes.
You can create a redirect to a Special page, but the redirect will not be followed automatically.
For a list of special pages, see Special:SpecialPages.
Namespace names in PHP
Below is a few of the known namespaces.[2]
- Main - NS_MAIN
- Talk - NS_TALK
- User - NS_USER
- User Talk - NS_USER_TALK
- File - NS_FILE
- File talk - NS_FILE_TALK
- MediaWiki - NS_MEDIAWIKI
- Mediawiki Talk - NS_MEDIAWIKI_TALK
- Template - NS_TEMPLATE
- Template Talk - NS_TEMPLATE_TALK
- Help - NS_HELP
- Help talk - NS_HELP_TALK
- Category - NS_CATEGORY_TALK
- Category talk - NS_CATEGORY_TALK
- Portal - NS_PORTAL[3]
- Portal talk - NS_PORTAL_TALK[3]
Searching namespaces
By default, the search box will only search the main article space. Users can tell USApedia which namespaces they'd like to search within by going to the "Search" tab within my preferences. Users can also tell USApedia to search in other namespaces on any given search by scrolling to the bottom of the search results, selecting which namespaces you want to search, and then running the search again.