Extension:CategoryMembersOnSidebar
From MediaWiki.org
|
CategoryMembersOnSidebar Release status: stable |
|||
|---|---|---|---|
| Implementation | User interface | ||
| Description | Adds category members on the sidebar | ||
| Author(s) | Bryan Tong Minh (BryanTalk) | ||
| Last version | 1.0.1 (13 December 2010) | ||
| MediaWiki | 1.14 | ||
| License | MIT | ||
| Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
||
|
|||
|
Check usage (experimental) |
|||
CategoryMembersOnSidebar is an extension that allows you to add the list of pages in a category to the sidebar.
[edit] Usage
The extension extends the regular sidebar syntax. Any top level entry in MediaWiki:Sidebar that starts with * CATEGORY: is handled by this extension. The syntax is as follows:
* CATEGORY:categoryname|caption
Where categoryname is the name of the category to list members from and caption is the top level heading (optional)
[edit] Example MediaWiki:Sidebar
* navigation ** mainpage|mainpage ** community portal * CATEGORY:Test-category|Pages in test * TOOLBOX
[edit] Installation
- Download the extension from ExtensionDistributor
- Unpack the extension in your extensions directory
- Add the following line to the bottom of LocalSettings.php:
require_once('extensions/CategoryMembersOnSidebar/CategoryMembersOnSidebar.php');
