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 }
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
This is a hook handler interface, see docs/Hooks.md.
onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly, $ldel, $unhide)
Use this hook to change the $oldHeader variable, which contains information about the old revision,...