MediaWiki  master
DifferenceEngineRenderRevisionAddParserOutputHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 use OutputPage;
7 use ParserOutput;
8 use WikiPage;
9 
31  $differenceEngine, $out, $parserOutput, $wikiPage
32  );
33 }
ParserOutput
Definition: ParserOutput.php:31
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:55
MediaWiki\Diff\Hook
Definition: AbortDiffCacheHook.php:3
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineRenderRevisionAddParserOutputHook.php:17
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:47
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook\onDifferenceEngineRenderRevisionAddParserOutput
onDifferenceEngineRenderRevisionAddParserOutput( $differenceEngine, $out, $parserOutput, $wikiPage)
Use this hook to change the parser output.
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition: DifferenceEngine.php:57