MediaWiki
REL1_35
DifferenceEngineRenderRevisionAddParserOutputHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
DifferenceEngine
;
6
use
OutputPage
;
7
use
ParserOutput
;
8
use
WikiPage
;
9
14
interface
DifferenceEngineRenderRevisionAddParserOutputHook
{
27
public
function
onDifferenceEngineRenderRevisionAddParserOutput
(
28
$differenceEngine, $out, $parserOutput, $wikiPage
29
);
30
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:56
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:47
ParserOutput
Definition
ParserOutput.php:27
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook
Stable to implement.
Definition
DifferenceEngineRenderRevisionAddParserOutputHook.php:14
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 Sat Apr 6 2024 00:07:06 for MediaWiki by
1.9.8