Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poke/mediawiki-listtransclusions
ListTransclusions MediaWiki extension – https://www.mediawiki.org/wiki/Extension:ListTransclusions
https://github.com/poke/mediawiki-listtransclusions
mediawiki mediawiki-extension
Last synced: 24 days ago
JSON representation
ListTransclusions MediaWiki extension – https://www.mediawiki.org/wiki/Extension:ListTransclusions
- Host: GitHub
- URL: https://github.com/poke/mediawiki-listtransclusions
- Owner: poke
- License: mpl-2.0
- Created: 2016-12-13T10:24:30.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T22:13:30.000Z (7 months ago)
- Last Synced: 2024-04-02T23:26:11.440Z (7 months ago)
- Topics: mediawiki, mediawiki-extension
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ListTransclusions
*ListTransclusions* is a [MediaWiki](https://mediawiki.org) extension that 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 currently 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](https://mediawiki.org/wiki/Help:Images#Syntax), which makes it impossible to reach the image description page without browsing through the page’s source code.
* [*Extension:ListTransclusions* on MediaWiki.org](https://mediawiki.org/wiki/Extension:ListTransclusions).
## Installation
To install this extension, extract the extension’s files into a folder `ListTransclusions` in the `extensions/` directory and add the following line at the bottom of your [`LocalSettings.php`](https://mediawiki.org/wiki/Manual:LocalSettings.php):wfLoadExtension( 'ListTransclusions' );
## Configuration
The extension generally works without any configuration. You can modify two messages within the `MediaWiki` namespace to show additional texts at the beginning or the end of the displayed list of the special page. Both messages are empty by default and will only be displayed if the target page exists. The messages are:* `MediaWiki:listtransclusions-header` – for the beginning of the list
* `MediaWiki:listtransclusions-footer` – for the end of the listThe 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.