Manual:Título de la página

This page is a translated version of the page Manual:Page title and the translation is 27% complete.
Outdated translations are marked like this.

Un título de la página es la denominación de una página. Se almacena en la tabla page . Cuando se especifica una determinada página al escribirla en el cuadro de búsqueda o al ingresarla en un artículo como wikienlace, la entrada consiste de un Espacio de nombres (o sin espacio de nombres, si se trata del espacio principal) seguido por dos puntos (carácter opcional en el caso del espacio principal) y la clave de la base de datos. For example, Manual:Tabla page specifies the Manual: namespace and the page table database key.

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).

Títulos de página no válidos

Los siguientes no son títulos de página válidos:

  • Base names beginning with a lower-case letter (in any alphabet), depending on the setting of $wgCapitalLinks .

Obsérvese que un título puede mostrarse con una letra minúscula inicial, sea mediante DISPLAYTITLE o la plantilla {{lowercase}}. Estos métodos no arreglan todas las ocurrencias, como en las páginas de historial, edición y registros (phab:T55566) o la barra de dirección del navegador (phab:T63851), sino que solo afectan el título de la página en la página HTML representada y la barra de título o la pestaña del navegador.

  • Titles containing the characters # < > [ ] | { } _ (which have special meanings in Wiki syntax), the non-printable ASCII characters 0–31, the "delete" character 127, or HTML character codes such as &amp;.

Note that the plus sign + is allowed in page titles, although in the default setup for MediaWiki it is not. This is configured by setting the value of $wgLegalTitleChars in LocalSettings.php .

  • Special characters like ( ) & + are translated into their equivalent %-hex notation
  • Base names beginning with a colon (:).
  • Nombres de base equivalentes a «.» o «..», o que comienzan por «./» o «../», o que contienen «/./» o «/../», o bien, que terminan por «/.» o «/..».
  • Nombres de base cuya longitud excede los 255 bytes. Be aware that non-ASCII characters may take up to four bytes in UTF-8 encoding, so the total number of characters you can fit into a title may be less than 255.
  • Titles containing "Talk:" in front of a namespace.
  • Titles with an invalid UTF-8 sequence.
  • Titles beginning with a namespace alias (WP:, WT:, Project:, Image:, on Wikipedia).

For example, the name Project:About is not possible if Project: is set as a namespace alias.

For example, an article about the album "Q: Are We Not Men? A: We Are Devo!" cannot have that exact name, as the "q:" prefix leads to Wikiquote. (The restriction includes the prefixes "w:" and "en:" that refer to English Wikipedia itself. This self-reference restriction does not apply on all projects. For example, Wikiquote supports titles beginning "Q:".) A list of all these interwiki prefixes can be found on Special:Interwiki.

  • Titles beginning with any non-standard capitalization of a namespace prefix, alias or interwiki/interlanguage prefix, or any of these with a space (underscore) before or after the colon.

For example, it is not possible for a title to begin such as: "HELP:", "HeLp:", "Help :", "Help:_", and the like.

  • Titles consisting of only a namespace prefix, with nothing after the colon.
  • Titles beginning or ending with a space (underscore), or containing two or more consecutive spaces (underscores).
  • Títulos que contengan tres o más virgulillas consecutivas. (~~~)
  • A title can normally contain the character %.

However it cannot contain % followed by two hexadecimal digits (which would cause it to be converted to a single character, by percent-encoding).

  • Note also that it is not possible for editors to create page titles beginning with the virtual namespace prefixes Media: and Special:.

Special cases

  • Una letra minúscula inicial en los títulos se convierte automáticamente en mayúscula

Alternative per-namespace configurations are possible. See $wgCapitalLinks and $wgCapitalLinkOverrides.

  • The magic words PAGENAME and FULLPAGENAME return encoded strings in which some types of characters, such as apostrophes, are converted to numeric character sequences. This means that while apostrophes are perfectly valid in page names, you may encounter issues when reusing those strings for some purpose.

One simple way to fix this is wrapping the pagename in {{#titleparts:}} from the ParserFunctions extension.

Parámetros de configuración relacionados

Véase también