Extension:TitlesAndTargets

Category:Unmaintained extensions#TitlesAndTargets Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
TitlesAndTargets
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Parser function Category:Parser function extensions
Description Adds two parser functions to identify page titles
Author(s) Werner G. Kaukerat (Wgkderdicketalk)
Latest version 1.0.0
MediaWiki Category:Extensions without MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

The TitlesAndTargets extension adds two parser functions about the page name. The first function returns the title of a page to a given page ID. The second function returns the target page name to a given name of a redirect page.

Installation

Usage

{{#idTitle:pageid}}

Returns the full page title including the namespace addressed by the page ID. An integer value greater than zero is expected as the parameter. Otherwise, an error will occur.

{{#rdTarget:redirect}}

Returns the full page title including the namespace of the target page of a redirect. The name of an existing redirect is expected as the parameter. Otherwise, an error will occur.

Category:All extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Unmaintained extensions