User:RodRabelo7/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.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)',
},

{
'label': 'Speedy Author/G7',
'tag': '{'+'{SD|G7}}',
'img_summary': 'Requesting speedy deletion: [[COM:CSD#G7|CSD G7]] (author or uploader request deletion)',
'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G7|CSD G7]] (author or uploader request deletion)}}',
'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G7|CSD G7]] (author or uploader request deletion)',
},

{
'label': 'Speedy Redirect/G2',
'tag': '{'+'{SD|G2}}',
'img_summary': 'Requesting speedy deletion: [[COM:CSD#G2|CSD G2]] (unused and implausible, or broken redirect)',
'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G2|CSD G2]] (unused and implausible, or broken redirect)}}',
'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G2|CSD G2]] (unused and implausible, or broken redirect)',
},

{
'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
},

];

// Provides several usefull functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <https://meta.wikimedia.org/wiki/User:Hoo_man/smart_rollback.js>
// [[File:Hoo man/smart rollback.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
//<nowiki>

//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation categories","redir_category":"Category redirects","watchlist":"preferences","minor":false,"editpages":false,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>