User:Alexis Jazz/common.js

// //mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/EditNoticesOnMobile.js&action=raw&ctype=text/javascript'); //importScript('c:User:Rillke/bigChunkedUpload.js'); importScript('User:Alexis Jazz/responseHelper.js'); if ( mw.config.get('wgNamespaceNumber') == 6 ) { importScript('User:Alexis Jazz/LuckyRename-test.js'); } importScript('User:Alexis Jazz/warn-edit-summary.js'); importScript('User:Alexis Jazz/Remove summary header in special upload.js'); importScript('User:Alexis Jazz/RedirectCommonsRedirects.js'); //mw.loader.using(['jquery.ui', 'mediawiki.util'], function{ //	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot'); //}); //window.catALotPrefs = {"watchlist":"nochange","minor":true,"editpages":true,"docleanup":false,"subcatcount":10}; //importScript('User:Alexis Jazz/Citoid.js'); // Backlink: User:Alexis Jazz/Citoid.js //importScript('User:Alexis Jazz/MVattrib.js'); // Backlink: User:Alexis Jazz/MVattrib.js //mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/EditNoticesOnMobile.js&action=raw&ctype=text/javascript');

// window.GUS2WikiTableGen = function(int,domains,langs) { domains = [ 'simple.wikipedia.org','www.mediawiki.org','www.wikidata.org','species.wikimedia.org','meta.wikimedia.org','commons.wikimedia.org' ]; langs = ['ar','az','bg','bn','ca','ckb','cs','da','de','el','en','eo','es','et','fa','fi','fr','he','hi','hr','hu','hy','id','it','ja','ko','lt','mni','ms','nl','no','pl','pt','ro','ru','sk','sl','sq','sr','sv','ta','th','tr','uk','ur','uz','vi','zh']; for(int=0;int<langs.length;int++){ domains.push(langs[int]+'.wikipedia.org'); domains.push(langs[int]+'.wiktionary.org'); //nonexistent or not having gadgets if ( ['az','bn','ckb','et','hi','ja','mni','ms','no','uz'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikiquote.org'); }		if ( ['az','bn','ckb','da','eo','et','hi','hr','hy','id','lt','mni','ms','sk','sl','tr','ur','uz','vi'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikinews.org'); }		if ( ['az','bg','ckb','et','eo','hu','mni','ms','no','sq','ta','ur','uz'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikisource.org'); }		if ( ['ckb','hu','mni','no','uk','uz'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikibooks.org'); }		if ( ['az','bg','bn','ca','ckb','da','es','et','eo','fa','he','hr','hu','hy','id','lt','mni','ms','nl','no','pl','sq','ro','sk','sr','ta','th','tr','uk','ur','uz','vi'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikiversity.org'); }		if ( ['ar','az','bg','ca','ckb','cs','da','et','hr','hu','hy','id','ko','lt','mni','ms','no','sq','sk','sr','sl','ta','th','ur','uz'].indexOf(langs[int]) == -1 ) { domains.push(langs[int]+'.wikivoyage.org'); }	}	domains.push('zh-yue.wikipedia.org'); return domains; }; if ( mw.util.getParamValue('autopost') || (( window.localStorage.GUS2W && (! window.localStorage.GUS2Wcheck || Number(window.localStorage.GUS2Wcheck) < new Date.getTime-691200000)) && ( ! window.localStorage.GUS2Wrunning || Number(window.localStorage.GUS2Wrunning) < new Date.getTime-3600000) )) { window.GUS2WikiDomains = window.GUS2WikiTableGen; window.GUS2WmetaJSON = 'User:Alexis Jazz/GUS2Wiki.json'; window.GUS2WmetaJSONMinAmount = 100; window.GUS2WBlacklist = [ 'commons.wikimedia.org' ]; if ( ! mw.util.getParamValue('autopost') ) { //window.GUS2Winterval = 604800000; }	mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/GUS2Wiki.js&action=raw&ctype=text/javascript'); } mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/ShushChanges.js&action=raw&ctype=text/javascript'); //mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/Factotum/POTDModule.js&action=raw&ctype=text/javascript'); importScript('User:Alexis Jazz/Factotum/modules/FileTemplates.js'); // Backlink: User:Alexis Jazz/Factotum/modules/FileTemplates.js importScript('User:Alexis Jazz/Vector-2022-inline-toc.js'); // Backlink: User:Alexis Jazz/Vector-2022-inline-toc.js importScript('User:Alexis Jazz/Inline-editor.js'); // Backlink: User:Alexis Jazz/Inline-editor.js