|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onTitleMove ( $old, $nt, $user, $reason, &$status) | |
| This hook is called before moving an article (title). | |
Stable to implement.
Definition at line 13 of file TitleMoveHook.php.
| MediaWiki\Hook\TitleMoveHook::onTitleMove | ( | $old, | |
| $nt, | |||
| $user, | |||
| $reason, | |||
| & | $status | ||
| ) |
This hook is called before moving an article (title).
| Title | $old | Old title |
| Title | $nt | New title |
| User | $user | User who does the move |
| string | $reason | Reason provided by the user |
| Status | &$status | To abort the move, add a fatal error to this object (i.e. call $status->fatal()) |
Implemented in MediaWiki\HookContainer\HookRunner.