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.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript'); }