User:SD0001/RFUD-helper

RFUD-helper is a script for admins intended to make processing requests at FP:RFUD easy. While accepting a request, the script completes the following tasks for you:
 * Undeletes the page
 * Posts the templated response (along with comments if any) below the request
 * Removes any CSD/PROD/XFD tags from the page after undeletion
 * If there are no tags to be removed and page was deleted per G13, a dummy edit is made to reset the six-month G13 clock.
 * Undeletes the talk page as well (if it existed)
 * If it is a FT:AFC page, moves it to the draft namespace
 * Adds Old AfD to the talk page while undoing an AfD soft deletion.
 * Gives you the option of userfying the page instead

In addition, when you follow red links and on Special:Undelete interface, you'll see a preview of the last deleted version of the page at the bottom. You'll also find a [Jump to preview of last revision] near the top to navigate to it.

Buttons for accepting or declining a request are placed just after the "revisions" button, appearing as:
 * [ |  |  ]

This script has been well-tested.

While userfying, if a page is found to already exist under the given page name, the script will give you another chance to enter a different page title.

Installation
If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, place the following line in your common.js or skin.js page: