MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onDifferenceEngineLoadTextAfterNewContentIsLoaded ( $differenceEngine) | |
This hook is called in DifferenceEngine::loadText() after the new revision's content has been loaded into the class member variable $differenceEngine->mNewContent but before checking if the variable's value is null. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "DifferenceEngineLoadTextAfterNewContentIsLoaded" to register handlers implementing this interface.
Definition at line 14 of file DifferenceEngineLoadTextAfterNewContentIsLoadedHook.php.
MediaWiki\Diff\Hook\DifferenceEngineLoadTextAfterNewContentIsLoadedHook::onDifferenceEngineLoadTextAfterNewContentIsLoaded | ( | $differenceEngine | ) |
This hook is called in DifferenceEngine::loadText() after the new revision's content has been loaded into the class member variable $differenceEngine->mNewContent but before checking if the variable's value is null.
Use this hook to inject content into said class member variable.
DifferenceEngine | $differenceEngine |
Implemented in MediaWiki\HookContainer\HookRunner.