- 'TitleMoveComplete',
- array( &$this->oldTitle, &$this->newTitle, &$user, $pageid, $redirid, $reason )
+ 'TitleMoveCompleting',
+ array( $this->oldTitle, $this->newTitle,
+ $user, $pageid, $redirid, $reason, $nullRevision )
+ );
+
+ $dbw->endAtomic( __METHOD__ );
+
+ $params = array(
+ &$this->oldTitle,
+ &$this->newTitle,
+ &$user,
+ $pageid,
+ $redirid,
+ $reason,
+ $nullRevision