User:SD0001/RFUD-helper

From Wikipedia, the free encyclopedia
RFUD-helper
DescriptionEasily process requests at WP:RFUD
Author(s)SD0001
StatusStable
UpdatedMarch 2, 2024
    (46 days ago)
Browser supportAll modern browsers
Skin supportAll skins, except Minerva
SourceUser:SD0001/RFUD-helper.js

RFUD-helper is a script for admins intended to make processing requests at WP: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 WT: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
  • Gives you the option of draftifying 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:

[ revisions | Accept | Decline ]

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[edit]

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:

importScript('User:SD0001/RFUD-helper.js'); // [[User:SD0001/RFUD-helper.js]]

See also[edit]