User:TBCtableEX/global.js

// Automated purge confirmation if ( mw.config.get( 'wgAction' ) === 'purge' ) { $('form[action*="action=purge"]').submit; }

// Link to other thingey $('li#pt-userpage').after( 	'' + //Line breaks bc one line HTML is a peeve of mine		'🌎' +	'' );

$('li#pt-centralauth').after( 	'' + //Line breaks bc one line HTML is a peeve of mine		'Lurkmore' +	'' );

$('li#pt-lurkmore').after( 	'' + //Line breaks bc one line HTML is a peeve of mine		'TCRF' +	'' );

// Make SiteNotice go away because apparently cookies don't take care of it if ( $("div.cn-not_for_profit_annoucement").length ) { $("div#cnotice-toggle-box>a").click; }

//enhanced diff - https://de.wikipedia.org/wiki/Benutzer_Diskussion:TMg/cleanDiff mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:TMg/cleanDiff.js&action=raw&ctype=text/javascript');

//format tidier - https://meta.wikimedia.org/wiki/User:TMg/autoFormatter mw.loader.load('//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript'); var autoFormatMaskedLinks = false; var autoFormatWikimediaLinks = false; var autoFormatReplacements = [ ['S.D.I.Y.', 'SDIY'], ['', '\\w -->'], ['\\dmm','\\d mm'], [' mm',' mm'], //['\\d"','\\d inches'], // messes up named references with digits	[/ +<ref\b/g, '<ref'],	[	   /(\n[*#]+) *([^\s*#:;])/g,	    '$1 $2'	], ];

// https://en.wikipedia.org/wiki/User:Joeytje50/JWB Javascript Wiki Browser mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');