Extension:CategoryMembersOnSidebar

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
CategoryMembersOnSidebar
Release status: stable
Implementation User interface
Description Adds category members on the sidebar
Author(s) Bryan Tong Minh (Bryantalk)
Latest version 1.0.1 (2010-12-13)
MediaWiki 1.14
License MIT License
Download Template:WikimediaDownload/svn
Translate the CategoryMembersOnSidebar extension if it is available at translatewiki.net
Check usage and version matrix.

CategoryMembersOnSidebar is an extension that allows you to add the list of pages in a category to the sidebar .

Usage[edit]

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)

Example MediaWiki:Sidebar[edit]

* navigation
** mainpage|mainpage
** community portal
* CATEGORY:Test-category|Pages in test
* TOOLBOX

Installation[edit]

require_once('extensions/CategoryMembersOnSidebar/CategoryMembersOnSidebar.php');