Extensión:NoTitle

From mediawiki.org
This page is a translated version of the page Extension:NoTitle and the translation is 55% complete.
Manual de extensiones de MediaWiki
NoTitle
Estado de lanzamiento: estable
Implementación Sintaxis extendida
Descripción Adds a magic word that lets you hide the main title heading
Autor(es)
Última versión 0.4.0 (2018-07-16)
MediaWiki 1.29+
PHP 5.5+
Cambios de la base de datos No
Licencia GNU Licencia Pública general 3.0 o posterior
Descarga
Ejemplo sandbox.semantic-mediawiki.org
Descargas trimestrales 95 (Ranked 62nd)
Traduce la extensión NoTitle si está disponible en translatewiki.net

The NoTitle extension adds a magic word, __NOTITLE__, that lets you hide the main title heading on any page.

Uso

Add __NOTITLE__ behaviour switch on any pages where you want to hide the title.

[1]

{{DISPLAYTITLE:newtitle}} works for any page.

Instalación

  • Descarga y extrae los archivos en un directorio denominado «NoTitle» dentro de la carpeta extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NoTitle
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'NoTitle' );
    $wgRestrictDisplayTitle = false;
    
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Notas

  1. This extension will work for any skin that puts the title heading in an ‎<h1> with class="firstHeading", including the default Vector skin.

Véase también