Extension:MagicNoCache/ja

Category:GPL licensed extensions/ja
MediaWiki 拡張機能マニュアル
MagicNoCache
リリースの状態: 安定Category:Stable extensions/ja
実装 ページの操作 Category:Page action extensions/ja
説明 Allows the disabling of caching on a per page basis
作者
最新バージョン 1.6.0
MediaWiki >= 1.38.0
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード Category:Extensions in Wikimedia version control/ja
translatewiki.net で翻訳を利用できる場合は、MagicNoCache 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告
Category:All extensions/ja

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

インストール

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