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.2.0 (2017-10-29)
MediaWiki 1.23+
License GNU General Public License 3.0 or later
Download
Translate the GroupsSidebar extension if it is available at translatewiki.net
Check usage and version matrix.

The GroupsSidebar extension allows to add sidebar elements for specific user groups. If you have usergroups and would like to add sidebar elements just for certain usergroup, you can use this extension.

Installation[edit]

  • Download and place the file(s) in a directory called GroupsSidebar in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/GroupsSidebar/GroupsSidebar.php";
    
  • Adapt as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

System messages[edit]

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.

If you are using these functions within you wiki's sidebar, you cannot set $wgEnableSidebarCache = true;.

See also[edit]