MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onNewDifferenceEngine ( $title, &$oldId, &$newId, $old, $new) | |
This hook is called when a new DifferenceEngine object is made. | |
Stable to implement.
Definition at line 11 of file NewDifferenceEngineHook.php.
MediaWiki\Diff\Hook\NewDifferenceEngineHook::onNewDifferenceEngine | ( | $title, | |
& | $oldId, | ||
& | $newId, | ||
$old, | |||
$new | |||
) |
This hook is called when a new DifferenceEngine object is made.
Title | null | $title | Diff page title |
int | false | null | &$oldId | Actual old ID to use in the diff |
int | false | null | &$newId | Actual 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 |
Implemented in MediaWiki\HookContainer\HookRunner.