User:Paladox/global.js

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

if ( window.mw ) { var respTime = mw.config.get( 'wgBackendResponseTime' ); if ( respTime ) { showBackendPerformance( respTime ); } }