Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Hook;
4
5use MediaWiki\Title\Title;
6use 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 */
15interface 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}