Extension:HideSidebar

From mediawiki.org
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
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

Check usage and version matrix.

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:
    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]