MediaWiki
master
DifferenceEngineRenderRevisionAddParserOutputHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
DifferenceEngine
;
6
use
MediaWiki\Output\OutputPage
;
7
use
MediaWiki\Parser\ParserOutput
;
8
use
WikiPage
;
9
17
interface
DifferenceEngineRenderRevisionAddParserOutputHook
{
30
public
function
onDifferenceEngineRenderRevisionAddParserOutput
(
31
$differenceEngine, $out, $parserOutput, $wikiPage
32
);
33
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:81
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:97
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:93
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition
DifferenceEngineRenderRevisionAddParserOutputHook.php:17
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook\onDifferenceEngineRenderRevisionAddParserOutput
onDifferenceEngineRenderRevisionAddParserOutput( $differenceEngine, $out, $parserOutput, $wikiPage)
Use this hook to change the parser output.
MediaWiki\Diff\Hook
Definition
AbortDiffCacheHook.php:3
includes
diff
Hook
DifferenceEngineRenderRevisionAddParserOutputHook.php
Generated on Fri Dec 13 2024 15:13:58 for MediaWiki by
1.10.0