万维百科英文版

主题:Namespace

Wikipedia data structure
Subject namespaces Talk namespaces
0 (Main/Article) Talk 1
2 User User talk 3
4 Wikipedia Wikipedia 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
118 Draft Draft talk 119
710 TimedText TimedText talk 711
828 Module Module talk 829
Currently unused
108 Book Book talk 109
446 Education Program Education Program talk 447
2300 Gadget Gadget talk 2301
2302 Gadget definition Gadget definition talk 2303
-1 Special
-2 Media

A Wikipedia namespace is a set of Wikipedia pages whose names begin with a particular reserved word recognized by the MediaWiki software (followed by a colon). For example, in the user namespace all titles begin with the prefix User:. In the case of the article (or main) namespace, in which encyclopedia articles appear, the reserved word and colon are absent. (Note: main space articles can optionally include a colon at the beginning with no reserved word, so [[Article]] and [[:Article]] are equivalent. This is usually only necessary for the advanced technique of transcluding a main space article into another page.)

Wikipedia has 34 current namespaces: 16 subject namespaces, 16 corresponding talk namespaces, and 2 virtual namespaces. These are all listed in the box to the right. While surfing Wikipedia, a list of namespaces is available in two clicks: do an empty search, then click Advanced under the search box. The list also makes itself available where needed in the dropdown menus of, for example, Special:Prefixindex, Special:Allpages, Special:Recentchanges, and Special:Contributions.

The aliases WP for Wikipedia, and WT for Wikipedia talk, work for page names in the search box, and making links as well as inclusions. See Aliases below for other aliases. (The pseudo-namespaces such as H for Help, and CAT for Category, are extremely limited. See Pseudo-namespaces below.)

The table on the right shows what number to use when you want to hide pages that are on your watchlist. See: Wikipedia:Hide Pages in Watchlist for details.

Previously, the Topic namespace was available for the Flow project but it has since been turned off on this wiki.

Subject namespaces

This page is in the Wikipedia namespace.

Namespaces allow for the organization and separation of content pages from administration pages. Namespaces separate data into core sets, those intended for public viewing, and those intended for the editing community. Wikipedia's subject namespaces and their functions are listed below. A brief description is provided, but see the link for more information.

A namespace is sometimes called a space, for short, as in "Project space". A subject page and its talk page form a pair.

In use


本页面最后更新于2020-04-16 13:09,点击更新本页

本站的所有资料包括但不限于文字、图片等全部转载于维基百科(wikipedia.org),遵循 维基百科:CC BY-SA 3.0协议

万维百科为维基百科爱好者建立的公益网站,旨在为中国大陆网民提供优质内容,因此对部分内容进行改编以符合中国大陆政策,如果您不接受,可以直接访问维基百科官方网站

万维家族


顶部