MediaWiki  master
DifferenceEngineNewHeaderHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 
39  public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
40  $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
41  $unhide
42  );
43 }
MediaWiki\Diff\Hook
Definition: AbortDiffCacheHook.php:3
MediaWiki\Diff\Hook\DifferenceEngineNewHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineNewHeaderHook.php:14
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition: DifferenceEngine.php:58
MediaWiki\Diff\Hook\DifferenceEngineNewHeaderHook\onDifferenceEngineNewHeader
onDifferenceEngineNewHeader( $differenceEngine, &$newHeader, $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel, $unhide)
Use this hook to change the $newHeader variable, which contains information about the new revision,...