User:RhinosF1/global.js

mw.loader.load('//quirc.miraheze.org/w/index.php?title=MediaWiki:UserInfo.js&action=raw&ctype=text/javascript') //credit: Paladox/Miraheze, Southparkfan/miraheze, LucasWMDE function showBackendPerformance { var respTime = mw.config.get( 'wgBackendResponseTime' ), dcas = ( { 1: 'rneu', 2: 'rneu', 3: 'rneu', 6: 'ovhlon-cl1', 7: 'ovhlon-cl2' } )[ mw.config.get( 'wgHostname' ).match(/(\d)\d{3}/)[1] ], server = mw.config.get( 'wgHostname' ); caption = respTime.toString + 'ms (' + server + '.' + dqcas + ')'; $( '' ).html( caption ).prependTo( '#p-personal ul' ); }

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