FANDOM


For a script that can generally delete pages fast, see AjaxDelete.
AjaxCommentDelete is a script that allows deletion of comments without leaving the article page comment is on by adding an "Ajax Delete" button to every comment. When clicked, the button opens a modal asking for entering a deletion reason.

Installation

Configuration

You can configure the script to delete comments without prompting for a reason every time, by inserting the following code in your common.js or global.js:

window.AjaxCommentDeleteConfig = {
    fastDelete: "The reason for deletion of the comment. You can modify this text!"
};

The above code is provided as an example configuration and isn't necessary for the script to work.

Changelog

v1.0
Initial revision
v1.1
Added fastDelete configuration option.
v1.2
Better internationalization system
General reformatting
v1.3
Not using Wikia's code bindings anymore.
Changed i18n system to use I18n-js library instead of the non-standardized system.
Moved to Dev Wiki.
Text above can be found here (edit)
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+