MediaWiki REL1_35
DifferenceEngineOldHeaderHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
6
33 public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader,
34 $prevlink, $oldminor, $diffOnly, $ldel, $unhide
35 );
36}
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly, $ldel, $unhide)
Use this hook to change the $oldHeader variable, which contains information about the old revision,...