Extension:ListTransclusions
|
ListTransclusions Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Lists all transcluded pages of a given page | ||
| Author(s) | PokeTalk | ||
| Last version | 1.0 (23:41, 23 March 2009 (UTC)) | ||
| MediaWiki | tested on 1.14+ | ||
| License | No license specified | ||
| Download | Download | ||
| Example | on Guild Wars Wiki | ||
|
|||
|
Check usage (experimental) |
|||
The ListTransclusions extension adds a special page Special:ListTransclusions which lists all used images and templates of a given page. It also adds a link to the toolbox portlet to quickly access the list for the current shown page.
The extension was created to make sure that attribution information for licenses such as the GFDL is easily accessible even if an article uses multiple nested templates or images with the link parameter, that makes it impossible to reach the image description page without browsing through the page's source code.
[edit] Installation
To install this extension, extract the extension's files into a folder ListTransclusions in the extensions directory and add the following line to LocalSettings.php:
require_once( "$IP/extensions/ListTransclusions/ListTransclusions.php" );
[edit] Configuration information
The extension allows to modify two messages within the MediaWiki namespace to show additional texts at the beginning or the end of the displayed list. Both messages are empty by default and will only be displayed if the target page exists. The available names are:
MediaWiki:listtransclusions-header- for the beginning of the listMediaWiki:listtransclusions-footer- for the end of the list
The messages will be parsed by the MediaWiki parser, so you can use wiki code inside. In addition you can access the name of the current targetted page using $1 within the message code.
