MediaWiki
REL1_35
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
12
interface
GetDifferenceEngineHook
{
27
public
function
onGetDifferenceEngine
( $context, $old, $new, $refreshCache,
28
$unhide, &$differenceEngine
29
);
30
}
DifferenceEngine
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
Definition
DifferenceEngine.php:56
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Content\Hook\GetDifferenceEngineHook
Stable to implement.
Definition
GetDifferenceEngineHook.php:12
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 Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8