Extension:SidebarEx

Purpose
Allows adding page links to the sidebar based on group membership and on a 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

DEPENDANCY

 * 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 'username/Sidebar'.

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