MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onNewDifferenceEngine ( $title, &$oldId, &$newId, $old, $new) | |
This hook is called when a new DifferenceEngine object is made. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "NewDifferenceEngine" to register handlers implementing this interface.
Definition at line 14 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.