User:AryKun/common.js

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript('User:SD0001/StubSorter.js'); // User:SD0001/StubSorter.js

mw.loader.load( '/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript' ); // Backlink: User:Evad37/duplinks-alt.js // Add WP:Reflinks launcher in the toolbox on left $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "http://69.142.160.183/~dispenser/cgi-bin/reflinks.py?lang=" + mw.config.get('wgContentLanguage') + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpPreview", // updated tool URL as of 27 December 2020 "Reflinks" // link label )});

importScript('User:SD0001/GAN-helper.js'); // User:SD0001/GAN-helper.js

importScript('User:Ucucha/HarvErrors.js'); // Backlink: User:Ucucha/HarvErrors.js

importScript('user:theleekycauldron/DYK promoter.js'); // Backlink: user:theleekycauldron/DYK promoter.js

importScript('User:Evad37/OneClickArchiver.js'); // Backlink: User:Evad37/OneClickArchiver.js

importScript('User:Ohconfucius/script/EngvarB.js'); // Backlink: User:Ohconfucius/script/EngvarB.js

/** * MiniEdit enables quick and simple edits without leaving the page * Documentation: https://www.mediawiki.org/wiki/MiniEdit * Source code: https://www.mediawiki.org/wiki/MediaWiki:Gadget-Global-MiniEdit.js */ mw.loader.load( '//www.mediawiki.org/w/load.php?modules=ext.gadget.Global-MiniEdit' );

importScript('User:Nardog/VitalTopicon.js'); // Backlink: User:Nardog/VitalTopicon.js

// Keep the line below. It is used to check the global usage of the script at Special:GlobalUsage/User:He7d3r/Tools/LanguageConverter.js // (see T35355) mw.loader.load( '//pt.wikibooks.org/w/index.php?title=Utilizador:He7d3r/Tools/LanguageConverterForEnglish.js&action=raw&ctype=text/javascript' ); mw.loader.load( '//pt.wikibooks.org/w/index.php?title=Utilizador:He7d3r/Tools/LanguageConverterForEnglish.css&action=raw&ctype=text/css', 'text/css' ); // Enable caching for resource loads, see User:SD0001/Making_user_scripts_load_faster, @revision 6 if(!/\bnocache=\b/.test(location.href)){let e=(e,t,n)=>(e=e.replace(/special:mypage/i,"User:"+mw.config.get("wgUserName")),$.get("https://"+t+"/w/api.php?titles="+e+"&origin=*&format=json&formatversion=2&uselang=content&maxage=86400&smaxage=86400&action=query&prop=revisions|info&rvprop=content&rvlimit=1").then((r=>{let o=r.query.pages[0];if(o.missing)return;let a=o.revisions[0].content;if(n&&"text/javascript"!==n||"javascript"!==o.contentmodel){if("text/css"!==n||"css"!==o.contentmodel)return $.Deferred.reject('Refused to load "'+e+'"@'+t+": content type mismatch");mw.loader.addStyleTag(a)}else{let e=document.createElement("script");e.innerHTML=a,document.head.appendChild(e)}}))),t=e=>{let t=/^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(e),n=/\btitle=([^=?&]*)/.exec(e);return t&&n&&/\baction=raw\b/.test(e)&&/\bctype=/.test(e)?[n[1],t[1]||mw.config.get("wgServerName")]:null};window.importScript=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/javascript")},window.importStyleSheet=t=>{e(encodeURIComponent(t),mw.config.get("wgServerName"),"text/css")};let n=mw.loader.load;mw.loader.load=function(r,o){let a=t(r);a?e(a[0],a[1],o):n.apply(mw.loader,[...arguments])};let r=mw.loader.getScript;mw.loader.getScript=function(n){let o=t(n);return o?e(o[0],o[1],"text/javascript"):r.apply(mw.loader,[...arguments])}}

importScript( 'User:Guycn2/UserInfoPopup.js' ); // Backlink: User:Guycn2/UserInfoPopup.js

importScript('User:Rublov/anonymize.js'); // Backlink: User:Rublov/anonymize.js importScript('User:Theleekycauldron/DYK_promoter.js'); // Backlink: User:Theleekycauldron/DYK_promoter.js