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 adds to the standard sidebar defined at MediaWiki:Sidebar. The new default sidebar is located at MediaWiki:Sidebar/*.

Group membership based sidebars
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/*

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
 * Fix for PHP warning when NS_MAIN is not defined (Thanks Dr DBW)