User:Galobtter/common.js

Source: Wikipedia, the free encyclopedia.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// 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])}}
$("table:contains('IPv6 range calculator')").hide();
importScript('User:Galobtter/scripts/WatchlistLinksNewTab.js'); // Backlink: [[User:Galobtter/scripts/WatchlistLinksNewTab.js]]
importScript('User:Enterprisey/strike-archived.js'); // Backlink: [[User:Enterprisey/strike-archived.js]]
importScript('User:Galobtter/scripts/adminhighlighter.js'); // Backlink: [[User:Galobtter/scripts/adminhighlighter.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
/*importScript('User:Kephir/gadgets/hollis.js');*/ // [[User:Kephir/gadgets/hollis]]; (since last seen in watchlist)
importScript('User:Writ_Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ_Keeper/Scripts/massRollback.js]]
importScript('User:Ale_jrb/Scripts/csdhelper.js'); // Backlink: [[User:Ale_jrb/Scripts/csdhelper.js]]
importScript('User:Galobtter/scriptcopies/OrphanStatus.js'); // Backlink: [[User:Galobtter/scriptcopies/OrphanStatus.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Galobtter/scripts/displayContributions.js'); // Backlink: [[User:Galobtter/scripts/displayContributions.js]]
importScript('User:Enterprisey/delsort.js'); // Backlink: [[User:Enterprisey/delsort.js]]
/*importScript('User:Ais523/stubtagtab2.js');*/ //Linkback: [[User:Ais523/stubtagtab2.js]] Added by Script installer
importScript('User:Enterprisey/undo-last-edit.js'); // Backlink: [[User:Enterprisey/undo-last-edit.js]]
importScript('User:Enterprisey/draft-sorter.js'); // Backlink: [[User:Enterprisey/draft-sorter.js]]
importScript('User:Enterprisey/talk-tab-count.js'); // Backlink: [[User:Enterprisey/talk-tab-count.js]]
//importScript('User:Ucucha/HarvErrors.js'); // Backlink: [[User:Ucucha/HarvErrors.js]]
/*importScript( 'User:Andy M. Wang/pageswap.js' );*/ // Backlink: [[User:Andy M. Wang/pageswap]]
importScript('User:Amorymeltzer/oldafd.js'); // Backlink: [[User:Amorymeltzer/oldafd.js]]
importScript('User:Evad37/Xunlink.js'); // Backlink: [[User:Evad37/Xunlink.js]]
importScript('User:Evad37/WikidataWatchlistLabels.js'); // Backlink: [[User:Evad37/WikidataWatchlistLabels.js]]
importScript('User:Mr. Stradivarius/gadgets/ConfirmRollback.js'); // Backlink: [[User:Mr. Stradivarius/gadgets/ConfirmRollback.js]]
ConfirmRollback = {
  history: "confirm"
};
importScript('User:Enterprisey/sync-template-sandbox.js'); // Backlink: [[User:Enterprisey/sync-template-sandbox.js]]
importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]
importScript('User:Enterprisey/easy-brfa.js'); // Backlink: [[User:Enterprisey/easy-brfa.js]]
importScript('User:EnterpriseyBot/AFCRHS.js'); // Backlink: [[User:EnterpriseyBot/AFCRHS.js]]
importScript('User:Jackmcbarn/advancedtemplatesandbox.js'); // Backlink: [[User:Jackmcbarn/advancedtemplatesandbox.js]]
importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Backlink: [[User:Writ Keeper/Scripts/deletionFinder.js]]
//mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer%3ATMg%2FcleanDiff.js&action=raw&ctype=text/javascript');
importScript('User:Amorymeltzer/logSwap.js'); // Backlink: [[User:Amorymeltzer/logSwap.js]]
importScript('User:MusikAnimal/userRightsManager.js'); // Backlink: [[User:MusikAnimal/userRightsManager.js]]
importScript('User:MusikAnimal/spamublock.js'); // Backlink: [[User:MusikAnimal/spamublock.js]]
importScript('User:Amorymeltzer/qrfpp.js'); // Backlink: [[User:Amorymeltzer/qrfpp.js]]
importScript('User:Writ Keeper/Scripts/massRevdel.js'); // Backlink: [[User:Writ Keeper/Scripts/massRevdel.js]]
importScript('User:Suffusion of Yellow/effp-helper.js'); // Backlink: [[User:Suffusion of Yellow/effp-helper.js]]
importScript('User:Enterprisey/unblock-review.js'); // Backlink: [[User:Enterprisey/unblock-review.js]]
//importScript('User:The Transhumanist/SearchSuite.js'); // Backlink: [[User:The Transhumanist/SearchSuite.js]]
//importScript('User:Joeytje50/JWB.js/load.js'); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
importScript('User:Enterprisey/url-select-revdel.js'); // Backlink: [[User:Enterprisey/url-select-revdel.js]]
/*importScript('User:PrimeHunter/Search sort.js');*/ //Linkback: [[User:PrimeHunter/Search sort.js]] Added by Script installer
/*importScript('User:Timotheus Canens/spihelper.js');*/ //Linkback: [[User:Timotheus Canens/spihelper.js]] Added by Script installer
importScript('User:Suffusion of Yellow/batchtest-plus.js'); // Backlink: [[User:Suffusion of Yellow/batchtest-plus.js]]
window.sciNoConfirm = true;
importScript('User:Writ Keeper/Scripts/cuStaleness.js'); // Backlink: [[User:Writ Keeper/Scripts/cuStaleness.js]]
importScript('User:Writ Keeper/Scripts/sockStaleness.js'); // Backlink: [[User:Writ Keeper/Scripts/sockStaleness.js]]
importScript('User:Enterprisey/link-deleted-revs.js'); // Backlink: [[User:Enterprisey/link-deleted-revs.js]]
importScript('User:Enterprisey/abusefilter-diff-check.js'); // Backlink: [[User:Enterprisey/abusefilter-diff-check.js]]
//importScript('User:IagoQnsi/ipareader.js'); // Backlink: [[User:IagoQnsi/ipareader.js]]
importScript('User:Suffusion of Yellow/filterNotes.js'); // Backlink: [[User:Suffusion of Yellow/filterNotes.js]]
importScript('User:Suffusion of Yellow/filterDiff.js'); // Backlink: [[User:Suffusion of Yellow/filterDiff.js]]
importScript('User:Suffusion of Yellow/filterTest.js'); // Backlink: [[User:Suffusion of Yellow/filterTest.js]]
importScript('User:Suffusion of Yellow/filter-highlighter.js'); // Backlink: [[User:Suffusion of Yellow/filter-highlighter.js]]
importScript('User:Ale jrb/Scripts/csdhelper.js'); // Backlink: [[User:Ale jrb/Scripts/csdhelper.js]]
importScript('User:The Earwig/revdel-responder.js'); // Backlink: [[User:The Earwig/revdel-responder.js]]
importScript('User:Suffusion of Yellow/mark-reverted.js'); // Backlink: [[User:Suffusion of Yellow/mark-reverted.js]]
importScript('User:MusikAnimal/responseHelper.js'); // Backlink: [[User:MusikAnimal/responseHelper.js]]
importScript('User:Writ_Keeper/Scripts/commonHistory.js'); // Backlink: [[User:Writ_Keeper/Scripts/commonHistory.js]]
importScript('User:Suffusion of Yellow/FilterDebugger.js'); // Backlink: [[User:Suffusion of Yellow/FilterDebugger.js]]
importScript('User:Ingenuity/AbuseFilterContribs.js'); // Backlink: [[User:Ingenuity/AbuseFilterContribs.js]]
importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js'); // Backlink: [[User:Novem_Linguae/Scripts/CiteHighlighter.js]]