Extension:MagicNoCache/pl

From Linux Web Expert

Podręcznik rozszerzeń MediaWiki
MagicNoCache
Status wydania: stabilne
Realizacja Akcja strony
Opis Allows the disabling of caching on a per page basis
Autor(zy)
Ostatnia wersja 1.6.0 (2020-02-23)
MediaWiki 1.32+
PHP 7.0+
Zmiany w bazie danych Nie
Licencja Nie określono
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').
Przetłumacz rozszerzenie MagicNoCache jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The MagicNoCache extension creates a new magic word __NOCACHE__ and disables the cache for any page in which it finds it. Thus it makes sure that specific pages never get cached as they get updated extremely frequently.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/MagicNoCache/pl</tvar>|Download]] and move the extracted <tvar name=name>MagicNoCache/pl</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MagicNoCache%2Fpl
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'MagicNoCache/pl' );
    
  • 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>