Page deletion

Deleting pages completely from MDN is a relatively rare occurrence. The most common reasons are pages that were created for spam or by mistake. Pages that have had a useful life, but describe technology that has become obsolete are archived by being moved to the /Archive section of MDN, rather than being deleted.

Requesting page deletion

Only MDN administrators are able to delete pages. As a non-admin user, you can request that a page be deleted.

To arrange for a page to be deleted, do the following:

  1. Do not erase or change the page content. We want to have the record of the page as it was at deletion time.
  2. Add the tag "Junk" to the page. Do not remove other tags.
  3. If the page is particularly urgently in need of deletion (for example, its content is inappropriate, offensive, or technically dangerous), notify an MDN administrator.

An administrator will delete the page when possible, after confirming that deletion is appropriate.

How to delete a page

Administrators who have decided to delete a page, do the following:

  1. Open  the Advanced menu, near the top-right corner of the page you want to delete.
  2. Click Delete this page. The "Delete document" screen appears, which looks like this:

    This shows the title of the page you have selected to delete, along with some metadata about it.
  3. Enter an appropriate reason in the Reason field, such as "Spam" or "Junk" or "Created by mistake".
  4. Click the Delete button. The "Document Deleted" screen appears, which will also be shown if anyone follows a link to this page. (Unprivileged users do not see the Restore this document button.)

Restricted access

Because of the destructive potential of the page deletion tool, access to it requires elevated privileges.

Roles that have this permission

Conditions for gaining this permission

You can obtain access to this tool if you meet the following conditions:

  • You have a regular need for it (for example, if you frequently need to deal with spam or erroneous pages). If you only occasionally need to delete pages, just ask an admin to do it.
  • You edit MDN frequently and have a track record of constructive contributions.

See Requesting elevated privileges for the process for gaining this privilege.