12年是什么婚| 实时更新是什么意思| 不寐病是什么意思| 阴道口有点痒用什么药| 女人送男人打火机代表什么| 龙凤呈祥是什么生肖| 缺德是什么意思| 绝交是什么意思| 量是什么意思| 抽搐吃什么药| 1970年五行属什么| 松垮是什么意思| 11月9日是什么日子| 狗脊是什么东西| 什么叫室性早搏| 凸起的痣是什么痣| 七十岁是什么之年| 鸡呜狗盗是什么生肖| 一声叹息是什么意思| 什么花走着开| 女性雄激素过高是什么原因引起的| 幼儿反复发烧是什么原因| 孟姜女姓什么| 2月什么星座| 胃胀痛吃什么药| 10月19是什么星座| 八路军为什么叫八路军| 春天有什么动物| 化作风化作雨是什么歌| 和女生聊天聊什么| hbeag是什么意思| 脑震荡后眩晕吃什么药| 什么药护肝效果最好| 25岁属什么| 舌头发麻是什么病兆| 什么是强势的女人| 山东特产是什么| bossini是什么牌子| loves是什么意思| 人为什么会缺钾| fashion什么意思| 李五行属什么| 积水是什么意思| 女性睾酮高意味着什么| 强劲的动物是什么生肖| hairy什么意思| 新的五行属性是什么| ca是什么意思| 降结肠在什么位置| 丝瓜可以炒什么| 淞字五行属什么| 什么是伤官配印| 口腔发粘是什么原因| 武的部首是什么| 任性什么意思| 夏天吃什么解暑| 尿液是什么味道| 象代表什么生肖| 什么牌子的洗发水好用| 眼睛干涩痒是什么原因| 卉字五行属什么| 为什么空调外机会滴水| 宾格是什么意思| 乳头为什么会痒| 给产妇送什么礼物好| 脉冲什么意思| 上门女婿什么意思| 一建什么时候报名| 什么地望着| 低保是什么| 清除胃火吃什么药| 洛阳有什么山| 头小脸小适合什么发型| 语无伦次是什么意思| 七四年属什么生肖| 什么是债权| 开普拉多的都是什么人| 施华洛世奇算什么档次| 凤梨不能和什么一起吃| obsidian什么意思| 守是什么生肖| mild是什么意思| 梦见家里着火了是什么征兆| 煮肉放什么调料| 01年属什么| 鱼鳞云有什么预兆| 尤文氏肉瘤是什么病| 血糖高能吃什么肉| 喝什么茶养胃| 绘本是什么意思| 公鸭嗓是什么声音| 2月15号是什么星座| 警告处分有什么影响| 开眼镜店需要什么设备| 武则天是什么朝代| 乌龟肠胃炎用什么药| 铁蛋白低是什么意思| 尿频尿多是什么原因| 口若悬河是指什么生肖| 桑枝是什么| 声线是什么意思| 讲义气是什么意思| 流量mb是什么意思| 不食人间烟火是什么意思| 辞退和开除有什么区别| 同性恋是什么意思| 葛仙米是什么| 什么是闰月| 10月底是什么星座| 什么蔬菜降血压效果最好| 老是肚子饿是什么原因| 三道鳞是什么鱼| 着数是什么意思| 五花肉炖什么好吃| 孕妇不吃饭对胎儿有什么影响| 三国时期是什么朝代| 呵呵哒是什么意思| 生姜什么时候吃最好| 煮花生放什么调料好吃| 海松茸是什么东西| 胎儿畸形是什么原因造成的| 晚上睡觉盗汗是什么原因| 什么西瓜好吃| 庚金是什么意思| 鼻干眼干口干属于什么症状| 金多水浊什么意思| 大姨妈每个月提前来是什么原因| 10月1日什么星座| 白细胞阴性什么意思| 梦见黑山羊是什么预兆| 吃什么会长胖| 鼻子痒用什么药好| 组织是什么意思| 同型半胱氨酸是什么意思| 为什么乳头会有白色分泌物| 夜间睡觉流口水是什么原因| 什么样的情况下需要做肠镜| 知柏地黄丸有什么作用| 比例是什么| au585是什么金| 为什么要小心吉普赛人| 夫妻都是a型血孩子是什么血型| 压迫是什么意思| 缺镁吃什么食物补充最快| 朱砂红是什么颜色| 什么病不能吃松花粉| 消失是什么意思| 黄体不足吃什么补最快| 97年的属什么| 凤尾菜又叫什么菜| 星期六打喷嚏代表什么| 燕京大学现在叫什么| 脑白质脱髓鞘是什么意思| 佛口蛇心是什么生肖| 女生两个月没来月经是什么原因| 中性粒细胞偏高是什么原因| 人得猫癣用什么药| 匈奴是现在的什么民族| 白雪什么什么| 木姜子是什么| mio是什么意思| 9月12是什么星座| 甲状腺斑块是什么意思| 跳蚤长什么样子图片| 闻字五行属什么| 李子树苗什么品种好| penguins是什么意思| 司空见惯的惯是什么意思| 专科是什么| 什么水果维生素含量高| 突然耳朵疼是什么原因| 肾结石吃什么| 4月25号是什么星座| 梦见手机摔碎了是什么意思| ab型血生的孩子是什么血型| 宫外孕是什么| 无后为大是什么意思| 狗狗流鼻涕吃什么药| 钙化什么意思| 厌氧菌是什么| 肛裂出血和痔疮出血有什么区别| 进贡是什么意思| 名创优品是卖什么的| 女性潮红是什么意思| 手指没有月牙是什么原因| 左下腹痛是什么原因| 肾不好有什么症状| 吃高血压药有什么副作用| 11月10号是什么星座| 黄皮什么时候成熟| 木元念什么| 申的五行属什么| 画地为牢什么意思| 104岁属什么生肖| 狗代表什么数字| 疱疹有什么症状表现| 什么是初心| 我想长胖点有什么办法| 膝盖内侧疼是什么原因| 子宫长什么样| 怀孕血糖高有什么症状| ns是什么意思| 高考四百分左右能上什么学校| 50岁属什么| 中分化是什么意思| 今天吃什么菜| 开小灶是什么意思| 什么颜色属水| 风寒感冒吃什么中成药| 喝什么茶降血压最好最快| 陈字五行属什么| 2点是什么时辰| 两点水有什么字| 火可以加什么偏旁| 窦性心动过缓什么意思| 脾阴虚吃什么中成药| 刘强东开什么车| 孕妇梦见水是什么意思| 解辣喝什么| 什么来什么去的四字词语| 造影是什么手术| 印比是什么意思| 牛皮癣是什么样的| b3是什么维生素| 今年21岁属什么生肖| 双手合十什么意思| 总是想吐是什么原因| 乙肝15阳性是什么意思| 眼珠发黄是什么原因| 一个彭一个瓦念什么| 主动脉硬化什么意思| 梦见红薯是什么意思| 血糖高是什么原因引起的| 鼻孔里面痒是什么原因| 什么颜色属金| 贫血吃什么维生素| 广义货币m2是什么意思| 铁扇公主是什么生肖| 总是失眠是什么原因| 诸侯国是什么意思| 尿蛋白十1是什么意思| 月经一个月来两次什么原因| 伏吟是什么意思| 本命佛是什么意思| 小孩嗓子哑了吃什么药| 蒲公英茶有什么功效| 叶酸片什么时候吃最好| 木行念什么| 30如狼40如虎是什么意思| 2月18什么星座| 感冒吃什么消炎药效果好| 瘫痪是什么意思| 贡眉是什么茶| 蛇胆是什么| 软卧代软座什么意思| 腰间盘突出有什么好的治疗方法| 仓鼠吃什么食物最好| 为什么会得水痘| wc的完整形式是什么| 鲫鱼是什么鱼| 黄瓜炒什么| 基酒是什么意思| 麂皮是什么材质| 最贵的榴莲是什么品种| 百度Jump to content

優步事故引起後患 現代稱謹慎對待自動駕駛汽車

From mediawiki.org
PD Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. PD
百度 进一步影响了市场集中度,不易形成规模经济。

Pages on a MediaWiki wiki are grouped into collections called “namespaces” which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.

Namespaces are indicated in page titles by prefixing the page name with <namespace>:, so the prefix Help: in this page's title (Help:Namespaces) indicates that this page is in the Help namespace. Each namespace is identified by a number and a name, which can be translated and can also have some aliases.

A page whose name is not prefixed by a namespace lies in the mainspace. Note, however, that colons and prefixes can also appear in page titles without indicating a namespace: the page Foo:Namespaces is a page located in the mainspace because the namespace “Foo” does not exist. Similarly the page Help:Foo:Namespaces is in the “Help” namespace.

Standard namespaces

The standard MediaWiki installation has sixteen namespaces that can contain user-generated content; there are also two special namespaces that contain pages created “on the fly” by the MediaWiki software. The standard namespaces are organized in pairs, with each pair containing a “subject namespace” and a “discussion namespace.” The namespaces are numbered from zero such that all subject namespaces have even indices and all talk namespaces have odd indices.

Media

This namespace is used for direct linking to media files: the link [[Media:MediaWiki-2020-logo.svg]] links to just the image rather than the image description page, which would be [[:File:MediaWiki-2020-logo.svg]].

Special

This namespace is used to group special pages, reports and interfaces that are generated “on demand” by MediaWiki and that are not directly editable. It is not possible to create pages in this namespace except by modifying or extending the MediaWiki software.

(Main)

The namespace that has no prefix separated by a colon. Commonly called the “main namespace” or “mainspace”. This namespace typically contains the bulk of the content pages in a wiki. This namespace generally has no special properties.

Talk

Main page: Help:Talk pages

The “Talk” namespace is the discussion namespace attached to the mainspace. It has no special properties.

User

Main page: Help:User page

Each user has a corresponding page in the “User” namespace, which is linked to from edit histories, watchlists, recent changes, etc.; wherever an individual user is uniquely identified.

This page and subpages of it can be used by users to record information about themselves or to test and draft new content. Pages of the form User:UserName/Foo.js or User:UserName/Foo.css can only be edited by the user themselves or by interface administrators (or administrators before MediaWiki 1.32).

User talk

This namespace is the talkspace associated with the “User” namespace. Pages in this namespace are mainly used to leave messages for particular users or inform them of discussions that may be of interest to them. To facilitate this, when a page User talk:UserName is edited, whenever the user UserName loads a page, a notice is displayed at the top of the page informing them of the edit:

This notice continues to appear until the user loads their user talk page to read the message.

Tip for wiki admins: Extensions like Echo may override this behavior.

Project

This namespace is normally used for meta-discussions related to the operation and development of the wiki. It automatically redirects the user to a namespace labeled after the wiki's name, example: [[Project:Licenses]] → [[Wikipedia:Licenses]].

Because this namespace's name changes from wiki to wiki, you may want to simply look at the 5th entry in any dropdown containing a list of all namespaces. The project namespace will be listed immediately after the User talk namespace. On some wiki farms, the name "Meta" may be used for this namespace.

Project talk

This is a talk namespace that is normally used for discussions related to the associated project pages. It has no special properties.

File

Main page: Help:Images

The “File” namespace is used to store metadata for images, videos, sound files and other media accessed via the “Media” namespace. Each file has a corresponding page in the “File” namespace, which is often used to hold licensing data. Linking directly to a page in this namespace instead includes the media file inline in the page: [[File:MediaWiki-2020-logo.svg|right]] produces the image to the right. See Help:Images for more details of this link syntax.

To create an internal link to the file page, you need to add a colon to the front of the namespace: [[:File:MediaWiki-2020-logo.svg|right]] produces File:MediaWiki-2020-logo.svg. The standard MediaWiki installation has alias “Image” for “File” namespace – See Namespace aliases.

For linking media files directly, bypassing the description page, see Media namespace.

File talk

This is a talk namespace that is normally used for discussions related to the associated media files. It has no special properties.

MediaWiki

The “MediaWiki” namespace is used to hold system messages and other important content. For instance, the page MediaWiki:Edit (or MediaWiki:Vector-view-edit in the default “Vector” skin) contains the text that fills the “Edit” tab at the top of every page. If that page exists, it overrides the default content, which is “Edit.” Similarly, MediaWiki:Common.css is the system message that holds the CSS code that is loaded for all users for each page. It has the special property that the entire namespace can only be edited by users with the (editinterface) user right. Since MediaWiki 1.32, JavaScript and CSS pages needs also editinterface and (respectively) editsitejs or editsitecss rights to edit.

MediaWiki talk

This is a talk namespace that is normally used for discussions related to the associated system messages. It has no special properties.

Template

Main page: Help:Templates

The “Template” namespace is used to hold templates, blocks of text or wikicode that are intended to be transcluded into several other pages. To facilitate this it has the special property that it is the default namespace for transclusions: the wikicode {{Foo}} is equivalent to {{Template:Foo}}.

Template talk

This is a talk namespace that is normally used for discussions related to the associated template pages. It has no special properties.

Help

The “Help” namespace is usually used to hold help files, instructions and “how-to” guides. It has no special properties. See Help namespace content.

Help talk

This is a talk namespace that is normally used for discussions related to the associated help pages. It has no special properties.

Category

Main page: Help:Categories

The “Category” namespace contains categories, dynamic lists of other pages. To facilitate this, linking directly to a category page does not output an inline link, but instead includes the page into the associated category page. So the code [[Category:Help]] causes a category link to appear at the bottom of the page (at the bottom in the box marked “Categories”). Clicking on that link takes you to the category page, where this page is visible in the category list.

To create an inline link to a category page, you need to add a colon to the front of the namespace: [[:Category:Help]] produces Category:Help. See Help:Categories for more details on category link syntax.

Category talk

This is a talk namespace that is normally used for discussions related to the associated category pages. It has no special properties.

Localisation

Namespace names and aliases can be localized by developers. To request the localization of namespace names, please file a MediaWiki internationalization task at Phabricator . In the description of the task, you should provide translations of all the namespaces in the table to the right, as well as any additional namespaces on your wiki (such as "Module" or "Gadget").

If the site's language is Chinese, then namespace names are translated only when the content is converted and there is no __NOTITLECONVERT__ or __NOTC__ or magic words on a page.

Renaming namespaces

Number Canonical name Localized name
-2 Media Media
-1 Special Special
0 (Main)
1 Talk Talk
2 User User
3 User talk User talk
4 Project Project
5 Project talk Project talk
6 File File
7 File talk File talk
8 MediaWiki MediaWiki
9 MediaWiki talk MediaWiki talk
10 Template Template
11 Template talk Template talk
12 Help Help
13 Help talk Help talk
14 Category Category
15 Category talk Category talk

Namespace names can be translated into languages other than English and individual namespaces can be renamed, as set by a wiki's system admins (using Namespace manager). These names are known as the 'localized' namespace names. However, all namespaces have a 'canonical name', the original English name which will work on any installation of MediaWiki. So linking to User:Foo will always locate the user page for the user foo, whether the wiki is in French (where the localized name would be Utilisateur:Foo), Russian (Участник:Foo), or Hindi (?????:Foo).

The canonical namespace names are given in the table to the right along with their localized names on this wiki.

Namespace aliases

On some wikis there are also namespace aliases: alternative names that will also be resolved to the localised names. For instance, a wiki might define "T" as an alias for Template, such that typing T:Foo is equivalent to Template:Foo, saving a few characters and seconds. An actual example would be on the English Wikipedia, where "WP" is an alias for Project, which is the namespace "Wikipedia".

By default, "Image" is an alias for File, so [[Image:MediaWiki-2020-logo.svg]] is equivalent to [[File:MediaWiki-2020-logo.svg]].

Custom namespaces

See Manual:Using custom namespaces for more information.

Some wikis may wish to organize their content in ways that do not fit into this standard set of namespaces. A wiki may define additional namespaces to facilitate this; these namespaces behave exactly like normal namespaces, and generally have indices greater than or equal to 100. These custom namespaces generally have no special properties.

Identifying namespaces

There are a number of ways by which the namespace of a particular page can be identified:

Magic words

The magic word {{NAMESPACE}} returns the value of the namespace the page is in.

To refer to another namespace, use {{ns:<name>}} (e.g. {{ns:Project}}), or {{SUBJECTSPACE}} / {{TALKSPACE}} to refer to the namespace paired with the current one.

JavaScript

The JavaScript variable wgCanonicalNamespace contains the full namespace name. The variable wgNamespaceNumber contains the numerical index of the namespace.

CSS

The ?<body> tag of the HTML page output is given two CSS classes that vary by namespace: A class ns-#, where # is the index of the namespace, and ns-XXX, where XXX is "subject" for all subject namespaces , "special" for pages in the Special namespace, and "talk" for talk namespaces . So CSS code such as the following can be used to change the appearance of an object based on its namespace:

.ns-subject a {   /* Almost all links on subject pages to be green. */
    color: #0f0;
}
.ns-talk a {      /* Links on talk pages to be blue. */
    color: #00f;
}
.ns-3 a {         /* and links on user talk pages to be red */
    color: #f00;
}

You can get a complete list of all namespace names of a MediaWiki installation from the Search results page Advanced tab, or from any recent changes page such as contributions or watchlist in its options box, in a drop-down list. For the system properties of each namespace, use the MediaWiki API :

API

See also

巧克力囊肿是什么意思 合伙人是什么意思 银屑病是什么引起的 摩什么接什么 大腿根疼是什么原因
明天属什么生肖 孩子拉肚子吃什么药 颤栗是什么意思 痛风是什么引起的 低筋面粉是什么面粉
什么是佛教什么是道教 送荷花的寓意是什么 hrd是什么意思 金融数学学什么 日本打工需要什么条件
鼻子干痒是什么原因 不治身亡是什么意思 天下乌鸦一般黑是什么意思 什么是子宫内膜异位症 怀孕吃什么对胎儿好
红烧肉是什么菜系hcv9jop1ns8r.cn 焦虑会引起什么症状hcv8jop2ns3r.cn 肺气肿是什么意思hcv7jop6ns7r.cn 什么是根管治疗hcv8jop8ns7r.cn 呕吐发烧吃什么药hcv8jop5ns9r.cn
高泌乳素血症是什么原因引起的hcv7jop6ns2r.cn 过年是什么时候hcv8jop4ns8r.cn 什么时候长智齿aiwuzhiyu.com 水瓜有什么作用和功效hcv7jop6ns3r.cn 膝盖酸疼是什么原因hcv9jop5ns4r.cn
面部神经挂什么科hcv8jop5ns5r.cn 孟姜女姓什么520myf.com 金钱草长什么样子图片hcv9jop8ns2r.cn 卵巢早衰是什么意思hcv8jop6ns7r.cn 交织是什么意思imcecn.com
什么药补肾最好hcv8jop6ns6r.cn 为什么说冬吃萝卜夏吃姜hcv8jop8ns9r.cn 硕士研究生是什么意思hcv8jop1ns7r.cn 老师的老师叫什么fenrenren.com 吃什么补白细胞hcv9jop4ns9r.cn
百度