Wikipedia:Viewing and restoring deleted pages by sysops

From Wikipedia, the free encyclopedia

Contents

[edit] Viewing a list of deleted pages

  • Chronological: Special:Log/Delete shows the 50 most recent deletions by default; it can be searched by username, by pagename, or by both at once. Wikipedia:Deletion log and its archives record deletions prior to the MediaWiki 1.4 conversion.

[edit] Viewing and restoring deleted pages by sysops

The procedure at Wikipedia:undeletion policy should be followed before undeleting a page, unless the initial deletion is considered 'out-of-process', in which case immediate undeletion may occur. For example, if the page was deleted without being listed on AfD, and did not meet the criteria for speedy deletion. Undeletions associated with page moves/merges may occur immediately without the need to list the page on Deletion Review.

There are (at least) three ways for the MediaWiki software to access a deleted page and its page history (the list and the old versions themselves):

  • Special:Undelete contains an alphabetical list of links to archived deleted pages (disabled on the English Wikipedia);
  • Enter the URL directly: http://en.wikipedia.org/wiki/Special:Undelete/TARGET and replace TARGET by the name of the page;
  • if a page has been deleted, then administrators who click on the resulting red link get a link to "View or restore x deleted edits?" above the notice that the page does not exist (standard skin). For example, see the weather in London. This does not apply if a new page with the same name has been created after the deletion; in this case, the link will appear on the page's history.
This produces:
  • if the page has recently been deleted: the deletion report (who deleted it, when and why). If the page was deleted after 23 December 2004 (the date of the MediaWiki 1.4 conversion), all deletions and restorations will appear.
  • if the page has not been restored yet: the deleted page history; one can now view the latest or older versions.

To undelete all revisions, simply press the Restore button. To undelete selected revisions, select the checkbox that appears next to each revision that you want to restore, then press the Restore button. To select a swath of revisions for undeletion, click the checkbox next to the first revision to undelete and then press the Shift key when clicking the second checkbox; all checkboxes between the two revisions will then be selected. If a new page with the same name has been created since the deletion, the restored revisions will appear in the prior history, and the current revision of the live page will not be automatically replaced.

The resulting page history does not show the deletion and restoration themselves. If a new page with the same name had been created, this shows up as if the last deleted version was modified to the first version of the new page.

Special:Log/delete is a full record of when, why, and by whom each page was deleted. It also records undeletions and, if all revisions were not restored, the number of restored revisions. It is not possible to record a reason for undeletion in the log.

[edit] Undeleting images

In the case of an "image" (in the broad sense of an uploaded file), a similar procedure applies as that above. Images deleted after 03:36, 16 June 2006 can be restored [1].

The Page history section shows the different versions of the text attached to the image, while the File history section contains the versions of the image itself. You can restore particular versions of both histories by selecting them with the checkboxes; if no checkbox is selected, all version will be restored.

[edit] Multiple deletions

If after a deletion a page with the same name is created and that is also deleted, then the revision histories are combined, and all deletions or restorations are shown on the undeletion page. It is still possible to select individual revisions to restore.

[edit] See also