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) (since 133631)