Extension:MagicNoCache

This page is a translated version of the page Extension:MagicNoCache and the translation is 40% complete.
MediaWiki 拡張機能マニュアル
MagicNoCache
リリースの状態: 安定
実装 ページの操作
説明 Allows the disabling of caching on a per page basis
作者
最新バージョン 1.6.0 (2020-02-23)
MediaWiki 1.32+
PHP 7.0+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
Quarterly downloads 44 (Ranked 106th)
translatewiki.net で翻訳を利用できる場合は、MagicNoCache 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

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.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のMagicNoCacheという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MagicNoCache
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'MagicNoCache' );
    
  •   完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。