Manual:$wgAllowDisplayTitle

This page is a translated version of the page Manual:$wgAllowDisplayTitle and the translation is 82% complete.
Outdated translations are marked like this.
Parser: $wgAllowDisplayTitle
Permite el uso de la palabra mágica {{DISPLAYTITLE}}
Introducido en la versión:1.7.0 (r13572)
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:true (1.11+)
false (1.7-1.10)

Detalles

Cuando esta opción está habilitada, los usuarios podrán usar la palabra mágica {{DISPLAYTITLE}} para anular el título de una página, siempre que el título seleccionado se normalice al mismo título canónico. For instance, it can be used to italicize part of the title or convert the capitalised initial to a lowercase letter.

The way it works is determined by another setting, $wgRestrictDisplayTitle .

If $wgRestrictDisplayTitle is set to true (default), the selected title must normalise to the same canonical title. Por ejemplo, en una página titulada IPod, uno puede usar {{DISPLAYTITLE:iPod}} para forzar al título a aparecer como "iPod" cuando se vea. Aun así, {{DISPLAYTITLE:Foo}} no funcionará, porque "Foo" no es el mismo título que "IPod".

If $wgRestrictDisplayTitle is set to false, this restriction no longer applies, allowing for any display title to be set.

History

  • $wgAllowDisplayTitle fue deshabilitado por defecto en MediaWiki hasta 1.10.0, implementaciones previas tenían errores, eran incompatibles el almacenamiento en caché, y no realizaba comprobaciones de normalización de títulos, lo cual es esencial para permitir enlaces correctos a artículos.
  • $wgRestrictDisplayTitle is available since MediaWiki 1.14.

Véase también