Jump to content

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 3 (Ranked 137th)
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 move the extracted GroupsSidebar folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GroupsSidebar
  • 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.

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]