From Miraheze Developers Wiki

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.


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 metawiki for all wikis:



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 = [
  "Broken redirect",

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