MediaWiki REL1_41
DifferenceEngineNewHeaderHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
6
39 public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
40 $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
41 $unhide
42 );
43}
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
This is a hook handler interface, see docs/Hooks.md.
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,...