User:ChipWolf/global.js

function showBackendPerformance { var respTime = mw.config.get( 'wgBackendResponseTime' ), backend = 'PHP7', server = mw.config.get( 'wgHostname' ), caption = respTime.toString + 'ms ( ' + backend + ' at ' + server + ')'; $( '' ).html( caption ).prependTo( '#p-personal ul' ); }

$( window ).on( 'load', showBackendPerformance );

if ( (mw.config.get("wgDBname") !== "wikidatawiki") && (mw.config.get("wgDBname") !== "testwikidatawiki") ) { // Don't work in Wikidata // Fork of Twinkle intended to work on as many wikis as possible mw.loader.load('//meta.miraheze.org/w/index.php?title=User:ChipWolf/TwinkleGlobal.js&action=raw&ctype=text/javascript'); mw.loader.load('//wiki.minecraftathome.com/w/index.php?title=User:ChipWolf/TwinkleGlobal.js&action=raw&ctype=text/javascript'); }