Extension:NoTitle

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎português do Brasil • ‎中文
MediaWiki extensions manual
Crystal Clear action run.png
NoTitle

Release status: beta

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.2.0 (2014-04-01)
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; code metrics

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

Usage[edit | edit source]

Put __NOTITLE__ on any pages where you want to hide the title. This extension will work for any skin that puts the title heading in an <h1> with class="firstHeading", including the default Vector skin.

Installation[edit | edit source]

  • Download and extract the file(s) in a directory called NoTitle in your extensions/ folder. If you're a developer and this extension is in a Git repository, then instead you should clone the repository using:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/NoTitle.git
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/NoTitle/NoTitle.php";
$wgRestrictDisplayTitle = false;
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Thanks[edit | edit source]

This extension is being maintained by Tony Boyles through a project of Milcord llc.

See also[edit | edit source]