The administrators' mop and bucket.

Part of an administrator's role is to delete pages due to speedy deletion criteria, XfD discussions, or articles that have been proposed for deletion.

Deleting a page is relatively easy. Basically, click on the "More" dropdown at the top of the page (the delete option will only appear if you are an administrator logged in to your account), enter a reason (or edit the automatically supplied reason), and hit delete. That's all there is to it. On very rare occasions, you might post a note at the Deletion Review page to allow others to review your speedy delete action, but that is not a usual practice. Restoring etiquette is the same as deleting etiquette when done per consensus such as per an XfD. However, if you restore a page without a consensus, it is considered proper to notify the page deleting admin of your actions and the reasons for your actions.

Below are instructions on how to delete and restore pages. Please follow the instructions to delete and then restore the page Wikipedia:Administrators' guide/Deleting/delete2. The instructions below also describe how to use the revision deletion function and restoring selected revisions. As a new administrator, you may not want to use the delete/restore revision extension until you have adequate experience with basic admin functions.

Deleting a page

 
You can find many pre-loaded deletion rationales using the drop down option (shown here in a March 2008 screen shot)
  1. Go to the page you wish to delete, in this case, we will use Wikipedia:Administrators' guide/Deleting/delete2.
  2. Above the page, you may[1] see tabs history and move and, in between them, you will see   - click the delete button. Don't worry, this will not immediately delete the page, and you will have a chance to review the deletion in the deletion screen that is brought up via clicking the delete button.
  3. Next to Reason:, select the reason for deleting the page. There are pre-phrased reasons for speedy delete and a few others. The default is "Other reason", and is for typing the deletion reason in the box next to Other/additional reason:. The typed reason in the "Other/additional reason:" box should refer to a particular discussion page for XfD's, such as [[Wikipedia:Articles for deletion/Article]], or a particular criteria for speedy deletion such as A7. You should use an informative reason: "G12" is not helpful, "Speedy deletion per G12- Copyright infringement." is much better. If text from the article appears in the "Other/additional reason:" box, please review that text to remove any libelous, attacking, or other personal information which may appear there; otherwise that material will appear in the deletion log, where it is very difficult to remove.
  4. Click the Delete page button. That will delete the page.
  5. At this point, your actions will have deleted all revisions of the page.

Batch deletion

If you need to delete all the pages created by a particular user, you can use Special:Nuke. For other mass-deletion needs, you can use Twinkle's "D-batch" module (see tools).

Restoring a page

  1. Go to the article you wish to restore, in this case, it is Wikipedia:Administrators' guide/Deleting/delete2.
  2. Just below the title, you will see "View or restore (one) deleted edit?" - Click on (one) deleted edit.
  3. This will list all the deleted revisions of the article. Next to each revision, you will check boxes. If you want to restore all the revisions, leave all the boxes unchecked.
  4. Towards the middle of the screen, there is a box with comment next to it. Type the reason you are going to restore the page into the box.
  5. Click on restore.
  6. The page will then be restored.

Deleting a revision

Under certain circumstances, such as edits involving libel or a user's private information, a particular revision may need to be deleted from history. Before using this tool you should familiarize yourself with the criteria for redaction.

  1. Go to the page history for Wikipedia:Administrators' guide/Deleting/delete.
  2. Selectively tick which revisions should be deleted in the square boxes immediately to the left of the revision.
  3. Go to the upper right of the history page and click the "Del/undel selected revisions" button. The system will take you to another screen.
  4. Select whether to revision-delete the content, the edit summary, the username or all three.
  5. Provide a revision deletion summary.
  6. Prior to deleting revisions, make sure that the material to be deleted is no longer in the article.
  7. Press delete to delete all revisions where the material to be deleted is present on the screen.

Please note that in some cases, revision suppression (which has replaced the old "oversight" process) may be required; see Wikipedia:Oversight for edits that may be suppressed. Administrators may elect to first revision delete the material, and then notify an oversighter directly or via the Oversight mail feature: email oversight-en-wp wikipedia.org (or use Special:Emailuser/Oversight).

It is possible to delete individual revisions of a page by deleting the entire page and then selecting revisions to be undeleted, but this method is no longer used routinely.

Restoring selected revisions

  1. Go to the page Wikipedia:Administrators' guide/Deleting/delete2.
  2. Insert an edit in which you will want to avoid restoring after you delete the page.
  3. Repeat steps 2-4 of Deleting a page.
  4. Repeat steps 1-4 of Restoring a page.
  5. To restore selected revisions and not restore the edit that needs to be removed from the page history, select the checkboxes only of the edits you need to restore (note: by holding the shift key on your keyboard and selecting one checkbox and the checkboxes above or below it, you can select multiple checkboxes without having to click on each one by one.)
  6. Repeat steps 5-6 of Restoring a page and the revisions you selected from the checkboxes will be restored.

Deleting files

You can delete files the same way you would delete any other page by deleting the page itself. However under "File history" you can delete specific versions of the file or change their visibility. If there is more than one revision of a file, clicking the "Delete all" will do exactly that. You cannot delete the most recent one without deleting all older copies and the image description page as well.

For non-free images, only the most recent revision should be live. All previous revisions should be deleted per the policy on non-free content. This process usually involves tagging the article with {{orphaned non-free revisions}}, then after seven days the older revisions are deleted under CSD F5/WP:F7.

All deletions of versions of files are logged.

Tools

Deleting pages

  • Twinkle – Allows you to delete a page and optionally its talk page, all the redirects to that page, and even unlink any links to that page. Ability to delete under multiple criteria is now supported
    Batch-delete: Click on the "D-batch" link to activate Twinkle's batch delete feature, allowing you to delete multiple pages at once. The module loads all links on the current page and lets you select which ones to delete, along with options to also delete their talk pages, redirects to those pages, and removing links to those pages. Very useful for instance when closing a discussion at WP:AfD as delete, where you need to delete all pages in a category. You can also use Special:PrefixIndex to generate a list of subpages of a page, and then use D-batch to delete all of them.
  • CSDHelper - Allows to easily handle speedy deletion requests, both deleting and declining, with multiple customizing options.
  • SpamUserPage (WP:SUPG) – Allows you to delete a userspace page, block the user, and issue them with a block notice, all in one click, with options for types of blocks, deletion rationale, etc.
  • spamublock – Delete a userpage, block the user, and issue {{uw-spamublock}} with one click
  • User:Mr. Stradivarius/gadgets/Draftify (WP:DFY) – allows you to move a userspace draft to the draft namespace without a redirect (deleting the userpage), tag the new draft with a draft template, and notify the user of your action
  • User:MPGuy2824/MoveToDraft – Allows you to move an article page to the draft namespace without leaving a redirect, tag the new draft with the draft template, and notify the user of your action. Forked from User:Evad37/MoveToDraft.
  • Special:Nuke – MediaWiki-provided tool to selectively delete all pages created by a user.

Deleting revisions

See also

Notes

  1. ^ Depending on your skin, the location of the delete link may be an entry on the "More" drop-down near the Search text box (e.g., Vector).