Manual:Hooks/ArticleUndelete

Details

 * $title: Title corresponding to the article restored
 * $create: Whether or not the restoration caused the page to be created (i.e. it didn't exist before)
 * $comment: Comment explaining the undeletion
 * $oldPageId: ID of page previously deleted (from archive table). This ID will be used for the restored page. (since 133631)
 * $restoredPages: Set of page IDs that have revisions restored for the undelete, with keys being page IDs and values are 'true'. (since 281078)