MediaWiki REL1_35
DifferenceEngineNewHeaderHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
6
36 public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
37 $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
38 $unhide
39 );
40}
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
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,...