Jump to content

Extension:HideSidebar

From mediawiki.org
MediaWiki extensions manual
HideSidebar
Release status: stable
Implementation Skin
Description Hides the sidebar from anonymous users
Maintainer(s) MyWikis LLC
Latest version 2.1.1 (2021-12-20)
MediaWiki 1.27+
Database changes No
License GNU General Public License 2.0 only
Download

The HideSidebar extension suppresses displaying the sidebar to anonymous users.

Installation

[edit]
  • Download and place the file(s) in a directory called HideSidebar in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'HideSidebar' );
    $wgEnableSidebarCache = false; # This extension disables it by default, but $wgEnableSidebarCache should never be set to true when this extension is in use.
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also

[edit]