MediaWiki
REL1_40
DifferenceEngineNewHeaderHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
DifferenceEngine
;
6
14
interface
DifferenceEngineNewHeaderHook
{
39
public
function
onDifferenceEngineNewHeader
( $differenceEngine, &$newHeader,
40
$formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
41
$unhide
42
);
43
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:66
MediaWiki\Diff\Hook\DifferenceEngineNewHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition
DifferenceEngineNewHeaderHook.php:14
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,...
MediaWiki\Diff\Hook
Definition
AbortDiffCacheHook.php:3
includes
diff
Hook
DifferenceEngineNewHeaderHook.php
Generated on Thu Jun 27 2024 14:02:39 for MediaWiki by
1.10.0