MediaWiki  master
ArticleContentOnDiffHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 use OutputPage;
7 
26  public function onArticleContentOnDiff( $diffEngine, $output );
27 }
MediaWiki\Diff\Hook
Definition: AbortDiffCacheHook.php:3
MediaWiki\Diff\Hook\ArticleContentOnDiffHook\onArticleContentOnDiff
onArticleContentOnDiff( $diffEngine, $output)
This hook is called before showing the article content below a diff.
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\ArticleContentOnDiffHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleContentOnDiffHook.php:15
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition: DifferenceEngine.php:58