Extension:SidebarEx

Purpose
Provides a means of adding page links to the 'sidebar' based on group membership & per-user basis.

Features

 * Can be used independantly of BizzWiki environment
 * all defined groups are supported (standard MW and ones defined in installation)
 * sidebar page name corresponds to 'group' name
 * No patches to standard MW installation for MW version >= 1.10
 * Group name prioritization
 * Per-User sidebars using 'username/Sidebar' page
 * Per-Namespace sidebars using 'MediaWiki:Sidebar/Ns/...namespace name here...'

Usage Note
This extension replaces the standard sidebar defined at MediaWiki:Sidebar. The new default sidebar is located at MediaWiki:Sidebar/*.

DEPENDENCY

 * ExtensionClass extension (>v1.5)
 * Tested Compatibility: MW 1.10
 * Patches for MW 1.8.x and MW 1.9.x available

Group membership based sidebars
Add to LocalSettings.php: 1) Define (if desired) the base namespace where the pages will be fetched:   $bwSidebarNs = NS_ADMIN;  // must be defined prior 2) Define (if desired) the base page where the 'sidebar' pages will be fetched: $bwSidebarPage = 'Sidebars'; 3) Define the priority list i.e. group membership search order.   $bwSidebarSearch = array ('somegroup', 'sysop', 'user', '*' );    Corresponding sidebar pages:		MediaWiki:Sidebar/somegroup		MediaWiki:Sidebar/sysop		MediaWiki:Sidebar/user		MediaWiki:Sidebar/* 4) Include the required scripts: require("extensions/ExtensionClass.php"); require("extensions/SidebarEx/SidebarEx.php");

Per-User sidebars
Edit the page 'User:username/Sidebar'.

Per-Namespace sidebars
Examples:
 * MediaWiki:Sidebar/Ns/Main
 * MediaWiki:Sidebar/Ns/Category

History

 * Corrected bug with article validity checking (e.g. affects BizzWiki fresh installs)
 * Moved singleton invocation to address some PHP warning
 * Added 'per-user' sidebars
 * Added 'per-namespace' sidebars