Manual:Page undeletion
(Redirected from Manual:Page restoration)
Page undeletion (sometimes called page restoration, but for consistency the former is preferred), is done by Special:Undelete or API:Undelete . With both of these methods, the option exists to also undelete all revisions of the associated talk page (if one exists and it has previously been deleted). 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.
Hooks
edit- Manual:Hooks/ArticleUndelete - when one or more revisions of an article are undeleted
- Manual:Hooks/ArticleRevisionUndeleted - called for each undeleted revision
- Manual:Hooks/FileUndeleteComplete