Manual:Hooks/TitleMoveComplete

Details

 * $title: old Title
 * $newTitle: new Title
 * $user: User who did the move
 * $oldid: database page_id of the page that's been moved
 * $newid: database page_id of the created redirect, or 0 if the redirect was suppressed.
 * $reason: reason for the move; added in (version 1.23)
 * $revision: revision created by the move; added in (version 1.27)