Extension:ExpensiveSubpageList
From MediaWiki.org
|
ExpensiveSubpageList Release status: experimental |
|||
|---|---|---|---|
| Implementation | Tag | ||
| Description | An alternate version of Extension:SubPageList, which provides more options at the cost of requiring significantly more memory, and more expensive database queries. | ||
| Author(s) | MasterAngel, based on SubPageList (MasterAngelTalk) | ||
| Last version | 0.4 (2011-10-24) | ||
| MediaWiki | 1.16.0 or above | ||
| License | GPL v3 or above | ||
| Download | http://www.affordable-rpg.co.uk/extensions/ExpensiveSubpageList.tar.gz | ||
|
|||
|
|||
|
Check usage (experimental) |
|||
Contents |
[edit] What can this extension do?
This extension displays a list of subpages of a specified page.
[edit] Usage
For basic usage instructions, see Extension:SubPageList, which this extension replaces. If you want, you can use this extension exactly the same as that one. However, the <subpages> tag has a few extra options:
- bluelink:
- yes or no; whether or not the subpage list should include subpages that exist
- redlink:
- yes or no; whether or not the list should include non-existent subpages, which other pages in the wiki link to
- redirects:
- yes: Show subpages even if they are just redirects
- no: Hide subpages which are redirect pages
- external: (default) Show subpages which are redirects onlyif the page they point to isn't already shown elsewhere in the list
- namespaces:
- restrict: (default) Only shows subpages in the same namespace as the parent
- single: If a subpage has identically-titled pages in more than one namespace, only link to the first one
- title_ns: If a subpage has identically titled pages in different namespaces, place them in a sub-list indented by one more level
- ns_title: Show a list of the subpages of Foo, followed by the subpages of Talk:Foo, then a list of the subpages of Project:Foo, and so on
- inline: Each list entry may look something like: "Foo ( Talk | Project | User )", depending what namespaces it exists in
[edit] Download instructions
Download ExpensiveSubpageList.tar.gz and uncompress it into $IP/extensions/ExpensiveSubpageList/. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/ExpensiveSubpageList/ExpensiveSubPageList.php");
