MediaWiki master
DifferenceEngineRenderRevisionAddParserOutputHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
8use WikiPage;
9
31 $differenceEngine, $out, $parserOutput, $wikiPage
32 );
33}
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
This is one of the Core classes and should be read at least once by any new developers.
Rendered output of a wiki page, as parsed from wikitext.
Base representation for an editable wiki page.
Definition WikiPage.php:79
onDifferenceEngineRenderRevisionAddParserOutput( $differenceEngine, $out, $parserOutput, $wikiPage)
Use this hook to change the parser output.