MediaWiki master
MediaWiki\Diff\Hook\DifferenceEngineAfterLoadNewTextHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onDifferenceEngineAfterLoadNewText ( $differenceEngine)
 This hook is called in DifferenceEngine::loadNewText() after the new revision's content has been loaded into the class member variable $differenceEngine->mNewContent but before returning true from this function.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file DifferenceEngineAfterLoadNewTextHook.php.

Member Function Documentation

◆ onDifferenceEngineAfterLoadNewText()

MediaWiki\Diff\Hook\DifferenceEngineAfterLoadNewTextHook::onDifferenceEngineAfterLoadNewText ( $differenceEngine)

This hook is called in DifferenceEngine::loadNewText() after the new revision's content has been loaded into the class member variable $differenceEngine->mNewContent but before returning true from this function.

Since
1.35
Parameters
DifferenceEngine$differenceEngine
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: