Extension:DynamicSidebar

This extension is based loosely on SidebarEx from Jean-Lou Dupont.

DynamicSidebar is an extension that extends the capabilities of the sidebar for logged in users. If allowed, users can add their own custom sidebars via "User: /Sidebar". Administrators can add sidebars for groups, and userpage categories via "MediaWiki:Sidebar/Group: ", and "MediaWiki:Sidebar/Category: ".

Installation
Download the snapshot from SVN, expand it into your extensions directory, then add the following line to the bottom of LocalSettings.php:

Configuration
The following options are available:

Custom user sidebars
$wgDynamicSidebarUseUserpages must be enabled, then an administrator must add the following in "MediaWiki:Sidebar":


 * USER-SIDEBAR

This string will be replaced with the user's sidebar.

Users should add their sidebar to "User: /Sidebar".

Group sidebars
$wgDynamicSidebarUseGroups must be enabled, then an administrator must add the following in "MediaWiki:Sidebar":


 * GROUP-SIDEBAR

This string will be replaced with the user's group sidebars.

Administrators must add a sidebar for each group at "MediaWiki:Sidebar/Group: ". If a user is in multiple groups, sidebars will be shown for each group.

Category sidebars
$wgDynamicSidebarUseCategories must be enabled, then an administrator must add the following in "MediaWiki:Sidebar":


 * CATEGORY-SIDEBAR

This string will be replaced with the sidebars of the categories on the user's userpage.

Administrators must add a sidebar for each category at "MediaWiki:Sidebar/Category: ". If a user's userpage has multiple categories, sidebars will be shown for each category. Users can add sidebars by adding a category to their userpage.