AjaxThreadDelete plugin allows people to completely delete threads, instead of removing/closing them. As of v1.2, it can allow thread deletion directly from a forum board without having to view the thread before deleting it.


Importing multiple scripts? This quick guide shows how to combine the imports.
  • For site-wide use, an administrator can add the line below to the wiki's MediaWiki:ImportJS page.
  • For personal use, add the code snippet below to your global.js page (for use on all wikis) or your common.js page on your wiki (for use on a single wiki). Note that personal JS must be enabled for your account.
    type: 'script',
    articles: [


There are two configuration options:

Option Location Description Default
Fast deletion AjaxThreadDeleteConfig.fastDelete Set to true to enable deletions without deletion prompt. N/A
Default reason AjaxThreadDeleteConfig.reason Reason for thread deletion. Note that the reason might not appear in all deletions. "Deletion executed through AjaxThreadDelete" in your respective language


This is an example configuration of AjaxThreadDelete:

window.AjaxThreadDeleteConfig = {
    fastDelete: true,
    reason: 'Deleting comment'

This configuration is not required for the script to work properly.

Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+