Open main menu

Quick Delete: Adds useful links to tag files as missing source/license/permission or for deletion, and notify users accordingly (you can also define custom buttons). [talk] 

QuickDelete depends on AjaxQuickDelete which hosts the main code.

The gadget is not active on non-existent or special pages. Since August, 2018 it is disabled on deletion requests and related pages (it is indeed possible to nominate a deletion request for deletion manually).

There are a few things you can configure in your personal /common.js (or /vector.js or /monobook.js).

AjaxQuickDelete and QuickDeleteEdit

To watch user talk pages, to which you add tags, add

window.AjaxDeleteWatchUserTalk = true;

To watch file pages, to which you add tags, add

window.AjaxDeleteWatchFile = true;

Some actions require communication with other wikis (e.g. notifying uploaders and replacing files). There are unfavorable fallbacks that can be used by default, if you do not want the script performing edits under your user accounts on different wikis.

window.aqdCORSOptOut = true;


You can also configure custom labels for your tool box (requires the QuickDelete gadget enabled) in the following way.

For example, if you want to tag files as {{duplicate}}s:

window.AjaxDeleteExtraButtons = [{
		'label': 'Dupe',
		'tag': '{' + '{duplicate|1=%PARAMETER%|user=%USER%}}',
		'img_summary': 'Tagging as duplicate of  [[%PARAMETER%]]',
		'prompt_text': 'Which file is this a duplicate of?',
        'optin_notify': 1
	}, {
		'label': 'OOS',
		'tag': '{' + '{speedy|[[COM:PS|please see our project scope]]}}',
		'img_summary': 'This file is [[COM:SCOPE|out of the project scope]]',
		'talk_tag': '{' + '{subst:Project scope|1=%FILE%}}',
		'talk_summary': '%FILE% is [[COM:SCOPE|out of the project scope]]'

If you have a 'talk_tag' parameter declared, the related users get automatic notified. If you want decide case by case (to notify users) you can use the boolean 'optin_notify' parameter.

Or if you want to tag clear copyvios with one click (with a link to the google image search engine in the speedy deletion reason field):

window.AjaxDeleteExtraButtons = [
                    'label': 'Copyvio (www)',
                    'tag': '{'+'{copyvio|1=[[COM:NETCOPYRIGHT|Copyright violation]], found elsewhere on the web and unlikely to be own work: [{{filepath:{'+'{subst:BASEPAGENAME}}}} google search]}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE%',

→ Some more life examples on a personal configuration.