Extension:CategoryMembersOnSidebar

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
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
Hooks used
SkinBuildSidebar

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

require_once('extensions/CategoryMembersOnSidebar/CategoryMembersOnSidebar.php');
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox