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

Public Member Functions | |
| onMovePageCheckPermissions ( $oldTitle, $newTitle, $user, $reason, $status) | |
| Use this hook to specify whether the user is allowed to move the page. | |
Stable to implement.
Definition at line 13 of file MovePageCheckPermissionsHook.php.
| MediaWiki\Hook\MovePageCheckPermissionsHook::onMovePageCheckPermissions | ( | $oldTitle, | |
| $newTitle, | |||
| $user, | |||
| $reason, | |||
| $status | |||
| ) |
Use this hook to specify whether the user is allowed to move the page.
| Title | $oldTitle | Current (old) location |
| Title | $newTitle | New location |
| User | $user | User making the move |
| string | $reason | Reason provided by the user |
| Status | $status | Status object to pass error messages to |
Implemented in MediaWiki\HookContainer\HookRunner.