Help:Quick Delete

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Help:QuickDelete and the translation is 44% complete. Changes to the translation template, respectively the source language can be submitted through Help:QuickDelete and have to be approved by a translation administrator.
Outdated translations are marked like this.

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] 

Quick Delete は、メインコードをホストするAjax Quick Deleteに依存しています。

このガジェットは、存在しないページ、または特別なページではアクティブになりません。2018年8月以降、削除リクエストおよび関連ページでは無効になっています(削除リクエストを手動で指定することは実際に可能です)。

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

Ajax Quick DeleteとQuick Delete

タグを追加した利用者会話ページをウォッチするには、以下を追加します。

window.AjaxDeleteWatchUserTalk = true;

タグを追加したファイルページをウォッチするには、以下を追加します。

window.AjaxDeleteWatchFile = true;

名前変更を拒否するファイルページをウォッチするには、以下を追加します。

window.AjaxDeclineMoveWatchFile = 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;

Quick Delete

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': 'Duplicate',
		'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
	},
];

If you want to speedy personal files and advertisements (without filing a deletion request):

window.AjaxDeleteExtraButtons = [
                   {
                    'label': 'Speedy Selfie/F10',
                    'tag': '{'+'{SD|F10}}',
                    'img_summary': 'Requesting speedy deletion: [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
                }, {
                    'label': 'Speedy Advert/G10',
                    'tag': '{'+'{SD|G10}}',
                    'img_summary': 'Requesting speedy deletion: [[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)',
                },
];

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:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://lens.google.com/uploadbyurl?url={{filepath:{'+'{subst:BASEPAGENAME}}}} Google search]}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]].}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because it is [[COM:NETCOPYRIGHT|found elsewhere on the web and unlikely to be own work]].',
                }
];

→ Some more live examples on a personal configuration.