User:Examknow/global.js

mw.loader.load('//meta.miraheze.org/w/index.php?title=User:Examknow/userinfo.js&action=raw&ctype=text/javascript'); mw.loader.load('//meta.miraheze.org/w/index.php?title=User:Examknow/RTRC.js&action=raw&ctype=text/javascript'); mw.loader.load('//meta.miraheze.org/w/index.php?title=User:Examknow/clock.js&action=raw&ctype=text/javascript'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); mw.loader.load('//meta.miraheze.org/w/index.php?title=User:Examknow/globalstatus.js&action=raw&ctype=text/javascript');

mw.loader.load('//meta.miraheze.org/w/index.php?title=MediaWiki:UserInfo.js&action=raw&ctype=text/javascript'); 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' ); }

$( document ).ready( showBackendPerformance );

function checkForLocalSysop { if ( mw.config.get('wgUserGroups').includes('sysop') ) { $( '' ).html( '[Local Sysop]' ).prependTo( '#p-personal ul' ); } } $( document ).ready( checkForLocalSysop );