Manual:Hooks/AbortDiffCache/de
Appearance
AbortDiffCache | |
---|---|
Erhältlich ab Version 1.14.0 Can be used to cancel the caching of a diff | |
Funktion definieren: | public static function onAbortDiffCache( DifferenceEngine $diffEngine ) { ... }
|
Haken anbringen: | In extension.json:
{
"Hooks": {
"AbortDiffCache": "MediaWiki\\Extension\\MyExtension\\Hooks::onAbortDiffCache"
}
}
|
Angerufen von: | Datei(en): diff/DifferenceEngine.php Funktion(en): getDiffBody |
Interface: | AbortDiffCacheHook.php |
For more information about attaching hooks, see Handbuch:Hooks .
For examples of extensions using this hook, see Category:AbortDiffCache extensions/de.
Details
$diffEngine
: An instance ofDifferenceEngine