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/ ", and "MediaWiki:Sidebar/ ".

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

Required modification to includes/Skin.php
This extension depends on a hook that has not yet been added to MediaWiki core. You'll need to modify includes/Skin.php the following way:

Configuration
The following options are available:

Custom user sidebars
$egDynamicSidebarUseUserpages 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
$egDynamicSidebarUseGroups 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/ ". If a user is in multiple groups, sidebars will be shown for each group.

Category sidebars
$egDynamicSidebarUseCategories 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/ ". 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.