MediaWiki
REL1_35
DifferenceEngineOldHeaderHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Diff\Hook
;
4
5
use
DifferenceEngine
;
6
11
interface
DifferenceEngineOldHeaderHook
{
33
public
function
onDifferenceEngineOldHeader
( $differenceEngine, &$oldHeader,
34
$prevlink, $oldminor, $diffOnly, $ldel, $unhide
35
);
36
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:56
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderHook
Stable to implement.
Definition
DifferenceEngineOldHeaderHook.php:11
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderHook\onDifferenceEngineOldHeader
onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly, $ldel, $unhide)
Use this hook to change the $oldHeader variable, which contains information about the old revision,...
MediaWiki\Diff\Hook
Definition
AbortDiffCacheHook.php:3
includes
diff
Hook
DifferenceEngineOldHeaderHook.php
Generated on Sat Apr 6 2024 00:07:06 for MediaWiki by
1.9.8