MarkForDeletion

The MarkForDeletion script automates the process of adding  to a page to mark it for deletion. Note: This script does not actually delete a page, it just automatically edits it to add the delete template. Presumably, the delete template would then have categorized the page so that an admin can go through and delete it later.

Note: This script is only available to logged-in users and is not available to anonymous IP editors.

Installation
To install this script for yourself on all wikis, copy/paste the following into your global.js page on Community Central.

A note about importArticles

 * See Help:Including additional JavaScript and CSS for more information about importArticles

The importArticles function is designed to efficiently install multiple scripts simultaneously. For example, if you are using several scripts with the outdated importScriptPage syntax, it may look something like this: You should replace that code with a single importArticles call to make it more efficient:

Usage
MarkForDeletion creates a "Mark for deletion" link in your toolbar at the bottom of the page (for Monobook users, it will be in the toolbox on the left side of the screen).

Clicking the "Mark for deletion" link will prompt you to enter a delete reason. After entering the delete reason, press OK to automatically edit the page and mark it for deletion. Press cancel to abort the process.

Updates

 * 26 December 2012
 * Mathmagician created script, per request of Paleclaw