Debian Codegraph @

includes/Hook/TitleMoveStartingHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 use MediaWiki\Title\Title;
6 use MediaWiki\User\User;
7
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "TitleMoveStarting" to register handlers implementing this interface.
11 *
12 * @stable to implement
13 * @ingroup Hooks
14 */
15 interface TitleMoveStartingHook {
16 /**
17 * This hook is called before moving an article (title), but just after the atomic
18 * DB section starts.
19 *
20 * @since 1.35
21 *
22 * @param Title $old Old title
23 * @param Title $nt New title
24 * @param User $user User who does the move
25 * @return bool|void True or no return value to continue or false to abort
26 */
27 public function onTitleMoveStarting( $old, $nt, $user );
28 }