Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:SD0001/RFUD-helper

From Wikipedia, the free encyclopedia
RFUD-helper
DescriptionEasily process requests at WP:RFUD
Author(s)SD0001
StatusStable
UpdatedMay 22, 2024
    (5 months ago)
BrowsersAll modern browsers
SkinsAll 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]