Extension:RemoveSubpagestr

The RemoveSubpagestr extension allows to remove links from certain subpages back to their root page

Usage
If you create your own navigation at the top of a page and its subpages you may not want the automatically generated links to the root page to appear on the subpages. This extension allows you to define in your LocalSettings.php file a list of pages whose subpages should not link back to them.

Installation

 * Copy removeSubpagestr.php to your extensions folder

Parameters
$wgNoSubpagestr - an array of page titles whose subpage should not link back

Changes to LocalSettings.php

 * Add an array of page titles as described above
 * include the extension at the bottom of the page