Extension:NoTitle

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
NoTitle
Release status: stableCategory:Stable extensions
Implementation Extended syntax Category:Extended syntax extensions
Description Adds a magic word that lets you hide the main title heading
Author(s)
Latest version 0.4.0 (2018-07-16)
MediaWiki 1.29 - 1.43Category:Extensions with manual MediaWiki version
PHP 5.5+
Database changes No
License GNU General Public License 3.0 or later
Download Category:Extensions in Wikimedia version control
Example sandbox.semantic-mediawiki.org
Quarterly downloads 34 (Ranked 63rd)
Translate the NoTitle extension if it is available at translatewiki.net
Category:All extensions

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

Usage

Add __NOTITLE__ behavior switch on any pages where you want to hide the title. [1]

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

Installation

  • Download and move the extracted NoTitle folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NoTitle
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NoTitle' );
    $wgRestrictDisplayTitle = false;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Notes

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

See also

Category:HTML head extensions
Category:All extensions Category:Extended syntax extensions Category:Extensions in Wikimedia version control Category:Extensions included in Miraheze Category:Extensions included in MyWikis Category:Extensions included in WikiForge Category:Extensions included in wiki.gg Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:GetDoubleUnderscoreIDs extensions Category:HTML head extensions Category:OutputPageParserOutput extensions Category:Stable extensions