Manual:Hooks/AbortDiffCache

From MediaWiki.org
Jump to: navigation, search
AbortDiffCache
Available from version 1.14.0
Can be used to cancel the caching of a diff

*Define function:
function fnMyHook( &$diffEngine ) { ... }

*Attach hook:
$wgHooks['AbortDiffCache'][] = 'MyExtensionHooks::someExample';
Called from: DifferenceEngine.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:AbortDiffCache extensions.


[edit] Details

  • &$diffEngine: DifferenceEngine object

[edit] See also

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox