Extension:NoTitle

What can this extension do?
Adds a magic word, __NOTITLE__, that lets you hide the main title heading.

Usage
Just put __NOTITLE__ on any pages where you want to hide the title. This extension will work for any skins that puts the title heading in an  with , including the default MonoBook skin.

Installation
Create a file in your extensions directory called  with the following code:

Changes to LocalSettings.php
Add the following line to your  file in the wiki root:

MediaWiki 1.10

 * On some MW 1.10 servers the above code will not work, please try using the following instead in such cases:

MediaWiki 1.11
Broken on MediaWiki 1.11 due to this addition:

"Throw a showstopper exception when a hook function fails to return a value. Forgetting to give a 'true' return value is a very common error which tends to cause hard-to-track-down interactions between extensions."

You can fix this by adding "Return True;" to the end of addMagicWordId. It will no longer spew PHP errors... However, it doesn't seem to work anymore, either.

You can remove the "Main Page" title on the front page by including the following in MediaWiki:common.js

In many cases, this bypasses the need for the extension.