User:Bradford/common.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
window.AjaxDeleteWatchUserTalk = true;
window.AjaxDeleteWatchFile = true;
window.aqdCORSOptOut = true;

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%|user=%USER%}}',
                    'img_summary': 'Tagging as duplicate of  [[%PARAMETER%]]',
                    'prompt_text': 'Which is file is this a duplicate of?'

                }
];

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

importScript('User:Kanonkas/twinkle.js');