User:StevenJ81/global.js

$.when( $.ready, mw.loader.using( ['mediawiki.util'] )).then( function {  $(' ' + (typeof watchlists=='string'?watchlists:'Fast links') + ' ').insertAfter("#p-tb");   mw.util.addPortletLink("p-wl", "//meta.miraheze.org/wiki/User:StevenJ81", "Meta page");   mw.util.addPortletLink("p-wl", "//incubator.miraheze.org/wiki/User:StevenJ81", "Incubator page");   mw.util.addPortletLink("p-wl", "//incubator.miraheze.org/wiki/Special:Watchlist", "Incubator watchlist");   mw.util.addPortletLink("p-wl", "//incubator.wikimedia.org/wiki/Special:Watchlist", "MW Incubator watchlist");   mw.util.addPortletLink("p-wl", "//commons.wikimedia.org/wiki/Special:Watchlist", "Commons"); });

mw.loader.using(['mediawiki.util', 'mediawiki.api', 'mediawiki.notify']).then( function {   mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-LocalLiveClock.js&action=raw&ctype=text/javascript' ); });