MediaWiki  master
DiffViewHeaderHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 use Revision;
7 
15 interface DiffViewHeaderHook {
26  public function onDiffViewHeader( $diff, $oldRev, $newRev );
27 }
MediaWiki\Diff\Hook
Definition: AbortDiffCacheHook.php:3
Revision
Definition: Revision.php:40
MediaWiki\Diff\Hook\DiffViewHeaderHook\onDiffViewHeader
onDiffViewHeader( $diff, $oldRev, $newRev)
This hook is called before diff display.
MediaWiki\Diff\Hook\DiffViewHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DiffViewHeaderHook.php:15
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition: DifferenceEngine.php:58