Extension:GroupsSidebar

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
GroupsSidebar

Release status: experimental

Implementation User interface
Description Allows to add sidebar elements for specific user groups
Author(s) churchofemacs (Church of emacsTalk)
Last version 0.1.1 (2010-11-01)
MediaWiki 1.16a (r59215)
License GPLv3
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

Hooks used
SkinBuildSidebar

Check usage (experimental)

NOTE: This extension requires MediaWiki 1.16 (r59215). You have to run MediaWiki 1.16.0 (or any later version) or this Extension will not work for you.

If you have usergroups and would like to add sidebar elements just for usergroup, you can use this extension.

[edit] Installation & Usage

Download the extension from SVN and place it in MediaWiki's extensions folder. You have to edit your LocalSettings.php. Add at the end of the file the following text:

# Extension:GroupsSidebar
require_once("$IP/extensions/GroupsSidebar/GroupsSidebar.php");

The resulting message names are "MediaWiki:Sidebar-groupname" whereas groupname is something like "sysop" or "user". For example, the message name could be MediaWiki:Sidebar-sysop. You can edit it the same way you edit the normal sidebar.

Note: You have to set $wgEnableSidebarCache to false in case you enabled it for performance reasons.

[edit] See also

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox