Wikipedia:WikiProject User scripts/Scripts/CloseAFD

From Wikipedia, the free encyclopedia

Ever gotten tired of having to go up and down to add {{at}} and {{ab}} to AFD debates? Worry no more, for this script will help automate that! Just install it, press the "close" tab that appears at the top of the AfD debate you're closing, type in the result, and hit enter! Everything — including the edit summary — is prefilled for you! What if you want to relist the debate instead? No problem. Just click the "relist" tab next to "close" and everything is prefilled for you again! What about putting {{oldafdfull}} on Talk: pages? No problem. CloseAFD.js now even has tabs to handle those!

Credit goes to Celestianpower for writing test-n.js which this is based on, and also to pile0nades who made the neat table and installation instructions on Edit Top.

Warning: Unless you are a very experienced user or an administrator, please do not close AfD debates yourself! Doing so may get you in very hot soup! Please look at the deletion process and deletion guidelines before closing AfDs, if you feel you have enough experience or support to do so.
Version Description Skins Author
0.3
Adds 'close' and 'relist' tabs to edit page of AfD debates to close/relist them, and various tabs for adding "old AFD" notices to Talk pages.
MonoBook Johnleemk
0.4
Adds non-admin closure support, error handling of prompts, and code cleanup
MonoBook Gogo Dodo
0.5
Technical 13

Installation instructions[edit]

To install the script, add:

importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');

to your vector or monobook JS page and bypass your cache.