Manual:Hooks/AbortDiffCache

From mediawiki.org
This page is a translated version of the page Manual:Hooks/AbortDiffCache and the translation is 80% complete.
AbortDiffCache
バージョン 1.14.0 から利用可能
Can be used to cancel the caching of a diff
関数の定義:
public static function onAbortDiffCache( DifferenceEngine $diffEngine ) { ... }
フックのアタッチ: extension.json 内:
{
	"Hooks": {
		"AbortDiffCache": "MediaWiki\\Extension\\MyExtension\\Hooks::onAbortDiffCache"
	}
}
呼び出し元: ファイル: diff/DifferenceEngine.php
関数: getDiffBody
インターフェイス: AbortDiffCacheHook.php

フックの設定についての詳細情報は Manual:フック を参照してください。
このフックを使用する拡張機能の例については、Category:AbortDiffCache extensions/ja を参照してください。

詳細

  • $diffEngine: DifferenceEngine のインスタンス

関連項目