User:Spencer/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.
importScript('User:Kanonkas/twinkle.js');

window.AjaxDeleteExtraButtons = [{
		'label': 'Dupe',
		'tag': '{' + '{duplicate|1=%PARAMETER%|user=%USER%}}',
		'img_summary': 'Tagging as duplicate of [[File:%PARAMETER%]]',
		'prompt_text': 'Which file is this a duplicate of?',
        'optin_notify': 1
	}, {
		'label': 'SpeedyDelete',
		'tag': '{' + '{SD|1=%PARAMETER%}}',
		'img_summary': 'Requesting speedy deletion',
		'prompt_text': 'Per which criterion',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=%PARAMETER%}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%',
                },
];