MediaWiki  master
DifferenceEngineOldHeaderHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 
36  public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader,
37  $prevlink, $oldminor, $diffOnly, $ldel, $unhide
38  );
39 }
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
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineOldHeaderHook.php:14
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition: DifferenceEngine.php:58