Difference between revisions of "Help:Namespaces"
(Created page with "{{Translation in progress|1=July 24, 2024, 12:30|progress=80%|source=zh:Help:名字空间}} {| class="wikitable" style="float: right; margin:1em 0 1em 1em; text-align: cen...") (Tag: invisibleCharacter) |
(Fixed some things, added link) (Tag: invisibleCharacter) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Translation in progress|1=July 24, 2024, 12:30|progress=80%|source=[[zh:Help:名字空间]]}} | {{Translation in progress|1=July 24, 2024, 12:30|progress=80%|source=[[zh:Help:名字空间]]}} | ||
+ | {{Help}} | ||
{| class="wikitable" style="float: right; margin:1em 0 1em 1em; text-align: center; font-size: 90%;" | {| class="wikitable" style="float: right; margin:1em 0 1em 1em; text-align: center; font-size: 90%;" | ||
! colspan="4" style="background-color: #F0F8FF; font-size:110%;" | Moegirlpedia namespaces | ! colspan="4" style="background-color: #F0F8FF; font-size:110%;" | Moegirlpedia namespaces | ||
Line 83: | Line 84: | ||
The namespace can be simply understood as the page prefix in Moegirlpedia pages. The concept is also similar to the namespace in C++ and Java. | The namespace can be simply understood as the page prefix in Moegirlpedia pages. The concept is also similar to the namespace in C++ and Java. | ||
− | When used, a prefix and a colon are usually added to the name of the article to be recognized by MediaWiki. | + | When used, a prefix and a colon are usually added to the name of the article to be recognized by MediaWiki. The sum of all pages with this prefix is the namespace. The only exception is that the "main namespace" does not have a prefix. |
− | Moegirlpedia currently has 22 namespaces, including 10 basic namespaces and corresponding talk page namespaces (such as "Help:" and "Help talk:") In addition ,there are two virtual namespaces. The table on the right lists all the namespaces of Moegirlpedia. | + | Moegirlpedia currently has 22 namespaces, including 10 basic namespaces and corresponding talk page namespaces (such as "Help:" and "Help talk:") In addition, there are two virtual namespaces. The table on the right lists all the namespaces of Moegirlpedia. |
== How to understand namespaces == | == How to understand namespaces == | ||
In addition to writing articles, Moegirlpedia also provides many functions. For example, the ability to upload multimedia files, the ability to batch change pages (open to admins only), and the ability for editors to make their own widgets. | In addition to writing articles, Moegirlpedia also provides many functions. For example, the ability to upload multimedia files, the ability to batch change pages (open to admins only), and the ability for editors to make their own widgets. | ||
− | Generally, adding a slash after the Moegirlpedia domain name (en.moegirl.org.cn) and typing the content, such as <code>/abcdef</code> will direct you to the page named Abcdef. However, in order to keep the overall content of the website simple, we roughly classify pages with different functions in the form of '''namespaces''', so that pages without prefixes only store articles | + | Generally, adding a slash after the Moegirlpedia domain name (en.moegirl.org.cn) and typing the content, such as <code>/abcdef</code> will direct you to the page named Abcdef. However, in order to keep the overall content of the website simple, we roughly classify pages with different functions in the form of '''namespaces''', so that pages without prefixes only store articles, and pages with other functions are classified by function. In this way, readers can know the function of this page through the namespace (that is, the prefix). |
− | Namespaces are generally written as <code></code>, such as <code></code> <code></code>. The specific introduction is written below. | + | Namespaces are generally written as "<code>xxxx:</code>", such as "<code>Moegirlpedia:</code>", "<code>Help:</code>". The specific introduction is written below. |
Namespaces are defined by Moegirlpedia. Generally, editors cannot create namespaces by themselves, but can only create prefixes similar to the (undefined) namespace. | Namespaces are defined by Moegirlpedia. Generally, editors cannot create namespaces by themselves, but can only create prefixes similar to the (undefined) namespace. | ||
Line 98: | Line 99: | ||
== Basic namespaces and their discussion namespaces == | == Basic namespaces and their discussion namespaces == | ||
=== "Main:" namespace === | === "Main:" namespace === | ||
− | The "main namespace", also known as the " | + | The "main namespace", also known as the "article namespace", contains all article pages on Moegirlpedia. |
− | Pages in the main namespace generally do not have a prefix. However, it is worth noting that | + | Pages in the main namespace generally do not have a prefix. However, it is worth noting that articles with prefixes such as [[Girls' Frontline: Suomi]] and [[Ultraman:Ultraseven]] belong to '''the main namespace''' and the main namespace only. The prefix of this kind of article is not a special namespace of Moegirlpedia, but a [[Moegirlpedia:Article naming guidelines#Handling duplicate names|naming convention]] set to distinguish characters with the same name '''when there are a large number of homonymous characters in franchises''' (see [[Moegirlpedia:Article naming guidelines]] for details). |
=== Talk namespaces === | === Talk namespaces === | ||
− | The discussion namespace of the "(main)" namespace is prefixed by "Talk:" | + | The discussion namespace of the "(main)" namespace is prefixed by "Talk:". This is used to discuss page-related content. |
=== "User:" namespace === | === "User:" namespace === | ||
− | + | Prefixed with "User:"; the abbreviation is "U:". Contains the personal pages of all users, as well as related pages created by them. | |
=== "Moegirlpedia:" namespace ("Project:") === | === "Moegirlpedia:" namespace ("Project:") === | ||
− | In Moegirlpedia, the "project" namespace is called the "Moegirlpedia" | + | In Moegirlpedia, the "project" namespace is called the "Moegirlpedia" namespace, prefixed with "Moegirlpedia:" and the abbreviation "MGP:". This is the localization setting provided by MediaWiki. |
In all MediaWiki architecture sites, the project namespace is written as "Project:". This is why "Project:" is directed to "Moegirlpedia:" on this site. | In all MediaWiki architecture sites, the project namespace is written as "Project:". This is why "Project:" is directed to "Moegirlpedia:" on this site. | ||
Line 116: | Line 117: | ||
=== "File:" namespace === | === "File:" namespace === | ||
− | + | Prefixed with "File:". | |
This namespace contains all files uploaded to Moegirlpedia, including but not limited to pictures, waveform sound files and streaming media. It also includes their different file versions, descriptions and classifications. | This namespace contains all files uploaded to Moegirlpedia, including but not limited to pictures, waveform sound files and streaming media. It also includes their different file versions, descriptions and classifications. | ||
=== "MediaWiki:" namespace === | === "MediaWiki:" namespace === | ||
− | + | Prefixed with "MediaWiki:", and the discussion page is prefixed with "MediaWiki_talk:", which is case-sensitive. | |
Most of the pages under the "MediaWiki" namespace are the interface text and settings of Moegirlpedia. Currently, only users with administrator status and above are allowed to edit. | Most of the pages under the "MediaWiki" namespace are the interface text and settings of Moegirlpedia. Currently, only users with administrator status and above are allowed to edit. | ||
=== "Template:" namespace === | === "Template:" namespace === | ||
− | + | Prefixed with "Template:"; the abbreviation is "T:". All templates included. | |
A template is a special type of page that is used to embed or replace references into other pages to add some pre-written content, or information bars, navigation bars, etc. | A template is a special type of page that is used to embed or replace references into other pages to add some pre-written content, or information bars, navigation bars, etc. | ||
=== Help:" namespace === | === Help:" namespace === | ||
− | + | Prefixed with "Help:"; the abbreviation is "H:". | |
− | |||
− | |||
The help namespace contains all existing Moegirlpedia and user guide information for the MediaWiki software. Some content helps readers make better use of Wikipedia, while other content is intended for editors to use it better to write Wikipedia. Some information is also copied from the Chinese Wikipedia or MediaWiki website. | The help namespace contains all existing Moegirlpedia and user guide information for the MediaWiki software. Some content helps readers make better use of Wikipedia, while other content is intended for editors to use it better to write Wikipedia. Some information is also copied from the Chinese Wikipedia or MediaWiki website. | ||
=== "Category:" namespace === | === "Category:" namespace === | ||
− | + | Prefixed with "Category:"; the abbreviation is "CAT:". | |
Contains all category pages, including a list of pages and subcategories under the category, as well as optional category prompt information. | Contains all category pages, including a list of pages and subcategories under the category, as well as optional category prompt information. | ||
Line 148: | Line 147: | ||
=== "Module:" namespace === | === "Module:" namespace === | ||
− | + | Prefixed with "Module:". | |
The module namespace is used to define components that use the Lua programming language to organize logic. They are generally called separately on other pages or after packaging through templates. | The module namespace is used to define components that use the Lua programming language to organize logic. They are generally called separately on other pages or after packaging through templates. | ||
Line 158: | Line 157: | ||
== Virtual namespaces == | == Virtual namespaces == | ||
− | There are also two virtual | + | There are also two virtual namespaces in Moegirlpedia. They are "Media" and "Special". Pages in the virtual namespaces do not belong to the database. |
− | + | The '''special namespace''' is prefixed with "Special:". Pages in this namespace are automatically generated by MediaWiki based on user needs. For example, "Special:RecentChanges" will automatically generate a list of the latest created pages. These special pages can be linked via general links, such as [[Special:RecentChanges]]. But if a special page contains parameters, a complete URL link must be given, just like an ordinary external link. Typing can be simplified using some specific magic words. [[Special:SpecialPages]] contains a list of all special pages <u>available to your current user group.</u> | |
The "Media:" namespace is used to create a link directly to the file itself, rather than the file description page. | The "Media:" namespace is used to create a link directly to the file itself, rather than the file description page. |
Latest revision as of 15:39, 31 July 2024
Translation in progress This help page is currently being translated from; it may be incomplete, inaccurate or obfuscating. Moegirlpedia hopes that you can help with translating, proofreading, or copy editing this help page. Progress:
80% This template was placed on July 24, 2024, 12:30. The last edit was on 15:39, 31 July 2024 (UTC). |
Moegirlpedia namespaces | |||
---|---|---|---|
Basic namespaces | Talk page namespaces | ||
0 | (blank) Known as: Main/Article namespace |
Talk | 1 |
2 | User | User_talk | 3 |
4 | Moegirlpedia | Moegirlpedia_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 |
274 | Widget | Widget_talk | 275 |
710 | TimedText | TimedText_talk | 711 |
828 | Module | Module_talk | 829 |
2300 | Gadget | Gadget_talk | 2301 |
2302 | Gadget_definition | Gadget_definition_talk | 2303 |
Virtual namespaces | |||
-1 | Special | ||
-2 | Media |
Namespaces in Moegirlpedia indicate the type of page, and pages are divided into several types roughly according to their functions.
The namespace can be simply understood as the page prefix in Moegirlpedia pages. The concept is also similar to the namespace in C++ and Java.
When used, a prefix and a colon are usually added to the name of the article to be recognized by MediaWiki. The sum of all pages with this prefix is the namespace. The only exception is that the "main namespace" does not have a prefix.
Moegirlpedia currently has 22 namespaces, including 10 basic namespaces and corresponding talk page namespaces (such as "Help:" and "Help talk:") In addition, there are two virtual namespaces. The table on the right lists all the namespaces of Moegirlpedia.
Contents
- 1 How to understand namespaces
- 2 Basic namespaces and their discussion namespaces
- 2.1 "Main:" namespace
- 2.2 Talk namespaces
- 2.3 "User:" namespace
- 2.4 "Moegirlpedia:" namespace ("Project:")
- 2.5 "File:" namespace
- 2.6 "MediaWiki:" namespace
- 2.7 "Template:" namespace
- 2.8 Help:" namespace
- 2.9 "Category:" namespace
- 2.10 "Widget:" namespace
- 2.11 "Module:" namespace
- 2.12 TimedText: namespace
- 3 Virtual namespaces
- 4 See also
How to understand namespaces
In addition to writing articles, Moegirlpedia also provides many functions. For example, the ability to upload multimedia files, the ability to batch change pages (open to admins only), and the ability for editors to make their own widgets.
Generally, adding a slash after the Moegirlpedia domain name (en.moegirl.org.cn) and typing the content, such as /abcdef
will direct you to the page named Abcdef. However, in order to keep the overall content of the website simple, we roughly classify pages with different functions in the form of namespaces, so that pages without prefixes only store articles, and pages with other functions are classified by function. In this way, readers can know the function of this page through the namespace (that is, the prefix).
Namespaces are generally written as "xxxx:
", such as "Moegirlpedia:
", "Help:
". The specific introduction is written below.
Namespaces are defined by Moegirlpedia. Generally, editors cannot create namespaces by themselves, but can only create prefixes similar to the (undefined) namespace.
Basic namespaces and their discussion namespaces
"Main:" namespace
The "main namespace", also known as the "article namespace", contains all article pages on Moegirlpedia.
Pages in the main namespace generally do not have a prefix. However, it is worth noting that articles with prefixes such as Girls' Frontline: Suomi and Ultraman:Ultraseven belong to the main namespace and the main namespace only. The prefix of this kind of article is not a special namespace of Moegirlpedia, but a naming convention set to distinguish characters with the same name when there are a large number of homonymous characters in franchises (see Moegirlpedia:Article naming guidelines for details).
Talk namespaces
The discussion namespace of the "(main)" namespace is prefixed by "Talk:". This is used to discuss page-related content.
"User:" namespace
Prefixed with "User:"; the abbreviation is "U:". Contains the personal pages of all users, as well as related pages created by them.
"Moegirlpedia:" namespace ("Project:")
In Moegirlpedia, the "project" namespace is called the "Moegirlpedia" namespace, prefixed with "Moegirlpedia:" and the abbreviation "MGP:". This is the localization setting provided by MediaWiki.
In all MediaWiki architecture sites, the project namespace is written as "Project:". This is why "Project:" is directed to "Moegirlpedia:" on this site.
This namespace provides information about Moegirlpedia's own content, including policies, guidelines, discussions, etc.
"File:" namespace
Prefixed with "File:".
This namespace contains all files uploaded to Moegirlpedia, including but not limited to pictures, waveform sound files and streaming media. It also includes their different file versions, descriptions and classifications.
"MediaWiki:" namespace
Prefixed with "MediaWiki:", and the discussion page is prefixed with "MediaWiki_talk:", which is case-sensitive.
Most of the pages under the "MediaWiki" namespace are the interface text and settings of Moegirlpedia. Currently, only users with administrator status and above are allowed to edit.
"Template:" namespace
Prefixed with "Template:"; the abbreviation is "T:". All templates included.
A template is a special type of page that is used to embed or replace references into other pages to add some pre-written content, or information bars, navigation bars, etc.
Help:" namespace
Prefixed with "Help:"; the abbreviation is "H:".
The help namespace contains all existing Moegirlpedia and user guide information for the MediaWiki software. Some content helps readers make better use of Wikipedia, while other content is intended for editors to use it better to write Wikipedia. Some information is also copied from the Chinese Wikipedia or MediaWiki website.
"Category:" namespace
Prefixed with "Category:"; the abbreviation is "CAT:".
Contains all category pages, including a list of pages and subcategories under the category, as well as optional category prompt information.
"Widget:" namespace
Prefixed with "Widget:".
This namespace belongs to one of the gadgets installed in this MediaWiki. By writing Widgets, you can create more diverse innovations for Moegirlpedia pages.
"Module:" namespace
Prefixed with "Module:".
The module namespace is used to define components that use the Lua programming language to organize logic. They are generally called separately on other pages or after packaging through templates.
TimedText: namespace
Prefixed with "TimedText:".
For storing subtitles in media files, see: Extension:TimedMediaHandler and the usage instructions on MetaWiki
Virtual namespaces
There are also two virtual namespaces in Moegirlpedia. They are "Media" and "Special". Pages in the virtual namespaces do not belong to the database.
The special namespace is prefixed with "Special:". Pages in this namespace are automatically generated by MediaWiki based on user needs. For example, "Special:RecentChanges" will automatically generate a list of the latest created pages. These special pages can be linked via general links, such as Special:RecentChanges. But if a special page contains parameters, a complete URL link must be given, just like an ordinary external link. Typing can be simplified using some specific magic words. Special:SpecialPages contains a list of all special pages available to your current user group.
The "Media:" namespace is used to create a link directly to the file itself, rather than the file description page.
See also
- The namespace help page on MetaWiki provides more comprehensive technical information on MediaWiki.
- wikipedia:Wikipedia:Template namespace