User:Awesome Aasim/oneclickdelete

One Click Deletion Script
The One Click deletion script in action, ready to nominate (or delete) an article that violates the deletion policy.
DescriptionAllows quick (instant) speedy deletion and tagging for speedy deletion of pages.
Author(s)User:Awesome Aasim
First releasedMay 14, 2020; 3 years ago (2020-05-14)
UpdatedMay 16, 2020; 3 years ago (2020-05-16)
Browser supportall
Skin supportall
SourceUser:Awesome Aasim/oneclickdelete.js

This is a gadget that allows you to nominate and/or delete pages that violate the deletion policy with one click. (I kind of got this idea from how you could in wikiHow new article boost nominate pages for deletion with about one click.)

Installation edit

importScript("User:Awesome Aasim/oneclickdelete.js")

to Special:MyPage/common.js

Guide edit

This tool allows for the quick deletion (and tagging for deletion) of pages using a set of defined deletion criteria.

Warning: this tool is instant. Be familiar with the deletion policy before you use this script.

Only deletion templates that do not require additional explanation (such as g10 or blpprod) are included. Those that require additional parameters (such as g12 or g6) are not supported by this tool, as it would defeat the purpose of clicking once. (You would have to go into edit mode to fix the deletion template anyway.) There is also a "Cancel" button if you accidentally selected the dropdown on mobile (in which case there is no escape from tagging/deletion unless if you select "Cancel").

No notification is given to the page creator (yet). But then, there may be a good reason to not notify them anyway, such as WP:DENY.

Test this script out on Test Wikipedia by using mw.loader.load.

"But Twinkle does the same thing!" edit

Yes, Twinkle does also allow you to nominate articles for speedy deletion, but this is much faster. The advantage of using this over Twinkle is that it is much faster than clicking on "CSD" or "PROD", clicking on the reason(s), and clicking on "Submit query". This is a very lightweight gadget that requires no configuration whatsoever. On the other hand, you still want to have Twinkle installed for those more complicated scenarios, such as when you want to notify the author of the page.