MediaWiki
master
GetDifferenceEngineHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
DifferenceEngine
;
6
use
MediaWiki\Context\IContextSource
;
7
15
interface
GetDifferenceEngineHook
{
30
public
function
onGetDifferenceEngine
( $context, $old, $new, $refreshCache,
31
$unhide, &$differenceEngine
32
);
33
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:79
MediaWiki\Content\Hook\GetDifferenceEngineHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetDifferenceEngineHook.php:15
MediaWiki\Content\Hook\GetDifferenceEngineHook\onGetDifferenceEngine
onGetDifferenceEngine( $context, $old, $new, $refreshCache, $unhide, &$differenceEngine)
This hook is called when getting a new difference engine interface object.
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
includes
content
Hook
GetDifferenceEngineHook.php
Generated on Tue Oct 15 2024 09:23:30 for MediaWiki by
1.10.0