User:Yeeno/common.js
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.
The accompanying .css page for this skin can be added at User:Yeeno/common.css. |
importScript('User:Rillke/bigChunkedUpload.js');
importScript('User:Sarang/cleanup.js');
importScript('User:Nick/tagTrademark.js');
importScript('User:Legoktm/massrename.js');
var markblocked_contributions = 'Special:Contributions';
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&bcache=1&maxage=259200&action=raw&ctype=text/javascript');
if (mw.config.get('wgNamespaceNumber') === 6){
importScript('User:Sreejithk2000/JustReplace.js');
if(/SVG/i.test( mw.config.get('wgTitle').slice( -3 ) ) ) { // SVGs only
importScript('User:Perhelion/simpleSVGcheck.js');
importScript('User:Rillke/SVGedit.js');
}
}
// Ajaxdelete
window.AjaxDeleteWatchFile = true;
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': 'Complex logo',
'tag': '{' '{Logo}}',
'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because this logo exceeds the [[COM:TOO|threshold of originality]] and therefore is subject to copyright.',
'talk_tag': '{' '{subst:Copyvionote |1=%FILE% |2=Logo exceeds the [[COM:TOO|threshold of originality]] and therefore is subject to copyright}}',
'talk_summary': 'Notification about multiple possible copyright violations. (Logo)',
}, {
'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
},
];
//<nowiki>
//vFCProfil/////////////////////////////////////
/////// VISUAL FILE CHANGE CONFIGURATION ///////
///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////
////////////////////////////////////////////////
window.vFC_Profiles = {"F10 Selfie":{"editInputs":{"mdDeleteReason":"{{SD|F10}}","mdEditSummary":"","mdReplacePermission":false,"mdDeleteHeading":"Files uploaded by ","mdTalkNote":"{{autotranslate|base=Speedynote|1=|2=F10}} Best,","mdRRegEx1":false,"mdRVar1":true,"mdMatchText1":"","mdReplaceText1":"","selPreserve":"secure","alsoPreserve":""},"action":"prepNf","objectMembers":{"queryParams":{"lestart":"","target":"","ledir":"older"},"startInput":{"mode":"User","modeCat":false,"modeUser":true,"modePage":false,"modeSearch":false,"target":"","loadThumbs":true,"loadWikitext":true,"startDate":"","startFile":""}},"proceedAt":{"vals":[],"setVals":["lecontinue"]},"time":"2022-10-16T23:38:41.350Z"}};
//////////////////////////////////vFCProfilEnd//
//</nowiki>
//<nowiki>
//vFCvFCCfg/////////////////////////////////////
/////// VISUAL FILE CHANGE CONFIGURATION ///////
///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////
////////////////////////////////////////////////
window.vFCSettings = {"userNote":"Best,","firstTest":0,"testEdits":0,"defaultAction":"prepend","watchlistUserTalk":"preferences","watchlistFiles":"watch","watchlistReplace":"nochange","watchlistOTRS":"nochange","loadBatchSize":30,"maxSimultaneousReq":5,"summaryChacheLen":5,"loadThumbs":true,"loadWikitext":true};
//////////////////////////////////vFCvFCCfgEnd//
//</nowiki>
//<nowiki>
//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation categories","redir_category":"Category redirects","watchlist":"preferences","minor":false,"editpages":true,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>