MediaWiki REL1_41
DifferenceEngineShowDiffHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Diff\Hook;
4
6
23 public function onDifferenceEngineShowDiff( $differenceEngine );
24}
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
This is a hook handler interface, see docs/Hooks.md.
onDifferenceEngineShowDiff( $differenceEngine)
Use this hook to affect the diff text which eventually gets sent to the OutputPage object.