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

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Hooks used
  • SkinBuildSidebar

The HideSidebar extension suppresses displaying the sidebar to anonymous users.

Installation

  • 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

  • Extension:DynamicSidebar
  • Manual:Interface/Sidebar
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.