A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Page_title below:

Manual:Page title - MediaWiki

A page title, also page name, is the title of a wiki page as stored in the page table and represented by the Title object. It is uniquely identifiable within the scope of the wiki and serves a number of critical purposes:

In order of appearance, the possible building blocks of a page title are:

  1. An optional Interwiki prefix, such as mw: for pages from mediawiki.org or w: for Wikipedia articles
  2. A namespace prefix, such as Manual:, if the page belongs to a namespace other than the mainspace.
  3. The non-optional page name proper, which itself consists of a base name and possibly, a subpage name.
  4. An optional fragment beginning with a hash sign (#)
prefix: namespace: page name optional optional required

When one is specifying a certain page by typing it into the search box, or putting it in an article as a wikilink, the input consists of a Namespace (or no namespace, if it's mainspace) followed by a colon (optional if it's mainspace) and then the database key. For example, Manual:Page table specifies the Manual: namespace and the page table database key.

#1 and #2. Interwiki prefixes and namespace prefixes[edit]

Interwiki prefixes and namespace prefixes follow the same content rules:

Interwiki prefixes and namespaces are only recognized if they are known to a given installation of MediaWiki, either by default or through configuration.

For example: On this wiki, "w:Name" is a link to the article "Name" on Wikipedia, because "w" is recognized as one of the allowable interwiki prefixes. The title "talk:Name" is a link to the article "name" in the "talk" namespace of the current wiki, because "talk" is a recognized namespace. Both may be present, and if so, the interwiki must come first, for example, "w:talk:name".

If a title begins with a colon as its first character, no prefixes are scanned for, and the colon is removed before the title is processed. Because of this rule, it is possible to have articles with colons in their names. "E. Coli 0157:H7" is a valid title, as is "Commandos: Behind Enemy Lines", because "E. Coli 0157" and "Commandos" are not valid interwikis or namespaces.

#3. The title proper[edit]

The title proper is sometimes called the article name (although not every wiki page is necessarily an article).

Naming restrictions[edit]

Certain naming restrictions apply to the title proper.

By default, the page title is case-sensitive except the first character. You can set $wgCapitalLinks to false to make the first character case-sensitive. However, it's currently impossible to make the page title completely case-insensitive (phab:T2453).

The following are not valid as page titles:

#4. The title fragment[edit]

A title may end with a title fragment (also link fragment), which begins with a hash sign (#).

The canonical form of a title will always be returned by the Title object. Canonicalization involves the following:

A page title is not to be confused with a Display title , which is the preferred label associated with a page. By default, a display title is synonymous with a page title, but it can be changed or customised to suit particular needs.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3