MediaWiki
REL1_39
GetDifferenceEngineHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
DifferenceEngine
;
6
use
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:60
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:58
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\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
includes
content
Hook
GetDifferenceEngineHook.php
Generated on Mon Dec 16 2024 06:34:51 for MediaWiki by
1.10.0