MediaWiki REL1_35
MediaWiki\Diff\Hook\NewDifferenceEngineHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Diff\Hook\NewDifferenceEngineHook:

Public Member Functions

 onNewDifferenceEngine ( $title, &$oldId, &$newId, $old, $new)
 This hook is called when a new DifferenceEngine object is made.
 

Detailed Description

Stable to implement.

Definition at line 11 of file NewDifferenceEngineHook.php.

Member Function Documentation

◆ onNewDifferenceEngine()

MediaWiki\Diff\Hook\NewDifferenceEngineHook::onNewDifferenceEngine (   $title,
$oldId,
$newId,
  $old,
  $new 
)

This hook is called when a new DifferenceEngine object is made.

Since
1.35
Parameters
Title | null$titleDiff page title
int | false | null&$oldIdActual old ID to use in the diff
int | false | null&$newIdActual new Id to use in the diff (0 means current)
int$old?old= param value from the URL
int$new?new= param value from the URL
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: