MediaWiki
REL1_37
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:58
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 Fri Apr 5 2024 23:40:12 for MediaWiki by
1.9.8