MediaWiki
REL1_35
DifferenceEngineNewHeaderHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
DifferenceEngine
;
6
11
interface
DifferenceEngineNewHeaderHook
{
36
public
function
onDifferenceEngineNewHeader
( $differenceEngine, &$newHeader,
37
$formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
38
$unhide
39
);
40
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:56
MediaWiki\Diff\Hook\DifferenceEngineNewHeaderHook
Stable to implement.
Definition
DifferenceEngineNewHeaderHook.php:11
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 Sat Apr 6 2024 00:07:06 for MediaWiki by
1.9.8