User:1234qwer1234qwer4/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:Magnus Manske/sdc_tool.js');
importScript('User:Sarang/simpleSVGcheck.js');
importScript("User:Ricordisamoa/ShouldBeSVG.js");
importScript("User:Steinsplitter/tagPersonalityRight.js");
importScript("User:CptViraj/tagWatermarked.js");
importScript("User:Nick/tagTrademark.js");
importScript('User:Magog the Ogre/cleanup.js');
importScript('User:BMacZero/AjaxCfdClose.js');
importScript('User:Perhelion/massrename.js');
importScript('User:Perhelion/fixconverttosvg.js');
importScript("User:Perhelion/justReplace.js");
mw.loader.load('//meta.wikimedia.org/wiki/MediaWiki:Gadget-patrolRevisions.js?action=raw&ctype=text/javascript');
mw.util.addPortletLink(
    'p-personal', '/wiki/Category:Deletion_requests',
    'Delete', 'deleteme-link', 'Speedy deletion candidates', '', '#pt-mytalk'
);
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)',
                },
]; // [[Help:QuickDelete]]
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
pathoschild.TemplateScript.add({
	category: 'Wikidata infobox',
	name: 'Wikidata infobox',
	template: '{{Wikidata infobox}}\n',
	position: 'before',
	editSummary: 'add Wikidata infobox',
	forNamespaces: 'Category'
});
});
//<nowiki>

//vFCvFCCfg/////////////////////////////////////
/////// VISUAL FILE CHANGE CONFIGURATION ///////
///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////
////////////////////////////////////////////////
window.vFCSettings = {"userNote":"Yours sincerely,","firstTest":0,"testEdits":0,"defaultAction":"del","watchlistUserTalk":"preferences","watchlistFiles":"preferences","watchlistReplace":"nochange","watchlistOTRS":"nochange","loadBatchSize":50,"maxSimultaneousReq":5,"summaryChacheLen":5,"loadThumbs":true,"loadWikitext":true};
//////////////////////////////////vFCvFCCfgEnd//
//</nowiki>