Page restoration, or page undeletion, is done by Special:Undelete or API:Undelete. One or more revisions from the archive table are moved to the revision table and a new page entry, with a new page.page_id is created. This entry's page.page_is_new field will be set to 1.
- Manual:Hooks/ArticleUndelete - when one or more revisions of an article are restored
- Manual:Hooks/ArticleRevisionUndeleted - called for each restored revision