Extension:GroupsSidebar

From mediawiki.org
MediaWiki extensions manual
GroupsSidebar
Release status: stable
Implementation User interface
Description Allows to add sidebar elements for specific user groups
Author(s) churchofemacs (Church of emacstalk)
Latest version 0.3.0 (2022-07-19)
MediaWiki 1.35+
License GNU General Public License 3.0 or later
Download
Quarterly downloads 4 (Ranked 160th)
Translate the GroupsSidebar extension if it is available at translatewiki.net

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 usergroups, 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 file:
    wfLoadExtension( 'GroupsSidebar' );
    
  • Adapt as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.34 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.34 and earlier), instead of wfLoadExtension( 'GroupsSidebar' );, you need to use:

require_once "$IP/extensions/GroupsSidebar/GroupsSidebar.php";

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.

See also[edit]