Extension:HideSidebar/pl

From Linux Web Expert

Podręcznik rozszerzeń MediaWiki
HideSidebar
Status wydania: stabilne
Realizacja Skórka
Opis Hides the sidebar from anonymous users
Opiekun(owie) MyWikis LLC
Ostatnia wersja 2.1.1 (2021-12-20)
MediaWiki 1.27+
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 only
Pobieranie
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

The HideSidebar extension suppresses displaying the sidebar to anonymous users.

Instalacja

  • <translate> <tvar name=1>Pobieranie</tvar> and place the file(s) in a directory called <tvar name=name>HideSidebar/pl</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'HideSidebar/pl' );
    $wgEnableSidebarCache = false; # This extension disables it by default, but $wgEnableSidebarCache should never be set to true when this extension is in use.
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Zobacz też