MediaWiki
REL1_41
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:70
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:64
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 Wed Nov 27 2024 07:23:05 for MediaWiki by
1.10.0