Help:QuickDelete

From Wikimedia Commons, the free media repository
Jump to: navigation, search


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.

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

AjaxQuickDelete and QuickDelete[edit]

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;

QuickDelete[edit]

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 derivative-no source or {{duplicate}}s:

window.AjaxDeleteExtraButtons = [
                {
                    'label': 'DW No Source',
                    'tag': '{'+'{subst:dw-nsd}}',
                    'img_summary': 'This is a [[COM:DW|derivative work]] and no source is provided.',
                    'talk_tag': '{'+'{subst:dw image source|1=%FILE%}}',
                    'talk_summary': 'Original source is missing for %FILE%',
                }, {
                    'label': 'Tag as dupe',
                    'tag': '{'+'{duplicate|1=%PARAMETER%}}',
                    'img_summary': 'Tagging as duplicate of  [[%PARAMETER%]]',
                    'prompt_text': 'Which is file is this a duplicate of?'

                }
];

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: [https://www.google.com/searchbyimage?image_url={{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.