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.