blob: 87f8169f026039572c2ed16baa2a4d0d7ea72a49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
namespace MediaWiki\Hook;
use Revision;
use Title;
use User;
/**
* @stable for implementation
* @ingroup Hooks
*/
interface TitleMoveCompleteHook {
/**
* This hook is called after moving an article (title), post-commit.
*
* @since 1.35
*
* @param Title $old Old title
* @param Title $nt New title
* @param User $user User who did the move
* @param int $pageid Database ID of the page that's been moved
* @param int $redirid Database ID of the created redirect
* @param string $reason Reason for the move
* @param Revision $revision Revision created by the move
* @return bool|void True or no return value to continue or false to abort
*/
public function onTitleMoveComplete( $old, $nt, $user, $pageid, $redirid,
$reason, $revision
);
}
|