Extension:ParentPageLink

The ParentPageLink extension add a boilerplate page-link to the parent page upon editing a new page.

For example, creating a new article on the Main_Page will produce the following code at the bottom.

=Internal Links= Parent Article: Main Page

Articles created in the new article will have the new article as the parent and so on down. This allows traceability from any article to the Main_Page (root) and provides some context for the article's creation.

Changes
Version 0.051 supports namespaces and subpages. Talk Pages are ignored.

Version 0.052 removed '_' from page titles.

Version 0.053 Bug fix with 'Main Page'.

Version 0.054 Bug fix with wfGetDB.

Version 0.055 Bug fix with LINUX error message.

Version 0.056 Bug fix with 1.27.1 detecting a blank article.

Installation

 * 1) Go to SourceForge.net and download the latest version.

# ParentPageLink Extension
 * 1) Save the file as "ParentPageLink.php" in the extensions folder.
 * 2) Add these lines to LocalSettings.php

require_once( "{$IP}/extensions/ParentPageLink.php");