Extension:ParentPageLink

Category:Unmaintained extensions#ParentPageLink Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:Extensions with unknown license
MediaWiki extensions manual
ParentPageLink
Release status: unmaintainedCategory:Unmaintained extensions
Implementation User interfaceCategory:User interface extensions, Page action Category:Page action extensions
Description On new page edit inserts a page-link pointing to the parent page.
Author(s) Jesse B. Dooley (Jdooleytalk)
Latest version 0.057 (2016-09-25)
MediaWiki 1.30.0+Category:Extensions with manual MediaWiki version
PHP 5.4.7+
Database changes No
License GPL
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

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=
<i>Parent Article:</i> [[Main Page]]<br />


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.
Fixed getContent() bug in 1.30.0

Installation

  1. Go to SourceForge.net and download the latest version.
  2. Save the file as "ParentPageLink.php" in the extensions folder.
  3. Add these lines to LocalSettings.php

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

Category:All extensions Category:EditPage::showEditForm:initial extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions with unknown license Category:Extensions without a compatibility policy Category:Extensions without an image Category:Page action extensions Category:Unmaintained extensions Category:User interface extensions