User:MarcoAurelio/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.
/**
 * Avoid DidYouMeant if page exists
 * cfr. [[Commons:Village_pump/Archive/2011/09#Internal_search_engine]]
 */
GoButton=true;

/**
 * Quick delete script custom buttons
 */
window.AjaxDeleteExtraButtons = [
                {
                    'label': 'Non-free logo',
                    'tag': '{'+'{logo}}',
                    'img_summary': 'Non-free logo',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%}}',
                    'talk_summary': 'Non-free logo: %FILE%',
                }, {
                    'label': 'Non-free SS',
                    'tag': '{'+'{screenshot}}',
                    'img_summary': 'Non-free screenshot',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%}}',
                    'talk_summary': 'Non-free screenshot: %FILE%',
                }, {
                    'label': 'Speedy',
                    'tag': '{'+'{SD|1=%PARAMETER%}}',
                    'img_summary': 'Requesting speedy deletion ([[COM:CSD#%PARAMETER%]])',
                    'prompt_text': 'Criterion?'
                }
];