Manual:Hooks/AbortDiffCache/de

This page is a translated version of the page Manual:Hooks/AbortDiffCache and the translation is 40% complete.
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 of DifferenceEngine

Siehe auch