AjaxDelete

AjaxDelete is a user script that allows for the easy deletion of a page without leaving the current page.

Known issues

 * This does not work on browsers that are incompatible with ES6.
 * It is only tested to work on Vector 2010.

Installation
Add the following line to your common.js file on an individual wiki to install on a per-wiki basis, or your global.js file on  for all wikis:

mw.loader.load("https://meta.miraheze.org/wiki/User:Collei/AjaxDelete.js?action=raw&ctype=text/javascript");

Configuration
You can configure the script with code that works in this format - just make sure to add it above where the script is loaded: window.AjaxDeleteReasons = [ "Housekeeping", "Unused", "Vandalism", "Broken redirect", ];

You can add more entries to the list or change them.