MediaWiki  master
GetDifferenceEngineHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Content\Hook;
4 
7 
30  public function onGetDifferenceEngine( $context, $old, $new, $refreshCache,
31  $unhide, &$differenceEngine
32  );
33 }
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
IContextSource $context
Definition: MediaWiki.php:42
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onGetDifferenceEngine( $context, $old, $new, $refreshCache, $unhide, &$differenceEngine)
This hook is called when getting a new difference engine interface object.