User:Flatscan/rescueTag

From wikishia

rescueTag.js is a JavaScript tool that implements two-click placement of the {{Rescue}} tag.

Usage

It will add a "rescue" tab when viewing an article nominated at Wikipedia:Articles for deletion, if it is not already tagged for rescue.

Clicking the "rescue" tab will display a text box for an optional edit summary rationale and a button to add the tag.

Once the button is clicked, the script will:

  1. Add a {{Rescue}} tag to the article
    1. Placing the tag within the AfD comments as suggested by Wikipedia:Article Rescue Squadron#Instructions
    2. Setting the page parameter, accounting for multiple nominations and page moves during the AfD
  2. Add an {{Afdrescue}} notification to the AfD

Installation

To install the script, add:

importScript('User:Flatscan/rescueTag.js'); // [[User:Flatscan/rescueTag.js]]

to your monobook (or modern) JS page and bypass your cache.

Notes

  • The script is newly written. Please do not hesitate to report unexpected behavior.
  • The script has only been tested in Firefox 3. The script was designed and tested in the monobook skin, it should work in modern, but may not work in others.
  • Direct bug reports and feature requests to User talk:Flatscan/rescueTag. If I do not respond promptly, try User talk:Flatscan.