MediaWiki  master
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook Interface Reference

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

Inheritance diagram for MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook:

Public Member Functions

 onDifferenceEngineRenderRevisionAddParserOutput ( $differenceEngine, $out, $parserOutput, $wikiPage)
 Use this hook to change the parser output. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 17 of file DifferenceEngineRenderRevisionAddParserOutputHook.php.

Member Function Documentation

◆ onDifferenceEngineRenderRevisionAddParserOutput()

MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook::onDifferenceEngineRenderRevisionAddParserOutput (   $differenceEngine,
  $out,
  $parserOutput,
  $wikiPage 
)

Use this hook to change the parser output.

Since
1.35
Parameters
DifferenceEngine$differenceEngine
OutputPage$out
ParserOutput$parserOutput
WikiPage$wikiPage
Returns
bool|void True or no return value to continue, or false to not add parser output via OutputPage's addParserOutput method

Implemented in MediaWiki\HookContainer\HookRunner.


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