Extension:GroupsSidebar

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
GroupsSidebar
Release status: experimental
Implementation User interface
Description Allows to add sidebar elements for specific user groups
Author(s) churchofemacs (Church of emacstalk)
Latest version 0.1.1 (2010-11-01)
MediaWiki 1.16a (r59215) and higher
License GPLv3
Download
Hooks used
SkinBuildSidebar
Translate the GroupsSidebar extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation & Usage[edit]

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.

See also[edit]