MediaWiki REL1_35
MediaWiki\Diff\Hook\DifferenceEngineAfterLoadNewTextHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineAfterLoadNewTextHook:

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

Stable to implement.

Definition at line 11 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: