Extension:NoTitle

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Scots • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
NoTitle
Release status: unmaintained
Implementation Extended syntax
Description Adds a magic word that lets you hide the main title heading
Author(s) Carlo Cabanilla, Tony Boyles
Latest version 0.3.0 (2017-07-25)
MediaWiki <= 1.23
PHP 5.3+
Database changes No
License GNU General Public License 3.0 or later
Download
Hooks used
ParserBeforeTidy
Translate the NoTitle extension if it is available at translatewiki.net
Check usage and version matrix.

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

Usage[edit]

Put __NOTITLE__ on any pages where you want to hide the title.[1]

Installation[edit]

  • Download and place the file(s) in a directory called NoTitle in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/NoTitle/NoTitle.php";
    $wgRestrictDisplayTitle = false;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Thanks[edit]

This extension is (no longer?) being maintained by Tony Boyles through a project of Milcord llc.

Notes[edit]

  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[edit]

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