Extension:SidebarEx

= 1.10
 * Group name prioritization
 * Per-User sidebars using 'username/Sidebar' page
 * Per-Namespace sidebars using 'MediaWiki:Sidebar/Ns/...namespace name here...'

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) Define any 'per-namespace' sidebars through: MediaWiki:Sidebar/Ns/Main MediaWiki:Sidebar/Ns/Category ...do your customization... 5) 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
 * Added 'per-namespace' sidebars

Code
//