MediaWiki  master
MediaWiki\Diff\Hook\AbortDiffCacheHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Diff\Hook\AbortDiffCacheHook:

Public Member Functions

 onAbortDiffCache ( $diffEngine)
 Use this hook to cancel the caching of a diff. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "AbortDiffCache" to register handlers implementing this interface.

Stable to implement

Definition at line 14 of file AbortDiffCacheHook.php.

Member Function Documentation

◆ onAbortDiffCache()

MediaWiki\Diff\Hook\AbortDiffCacheHook::onAbortDiffCache (   $diffEngine)

Use this hook to cancel the caching of a diff.

Since
1.35
Parameters
DifferenceEngine$diffEngine
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: