User:Alex Shih/Scripts/sandbox.js

// (function {	var responses = {}, inline = false, indentation = ":", templateName = "", defaultPrompt = "", anew = false, spi = false, unresolved;	$(document).ready(function { mw.loader.using( ['mediawiki.util'], function {			// show shortcuts if not editing			if (!mw.config.get('wgEditMessage')) {				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/Template:Admin dashboard', "Dashboard");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/Category:Candidates for speedy deletion', "Deletion");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/User:Alex Shih/Essays/Guide', "Guide");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/User:Alex Shih/Noticeboards', "Noticeboards");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/Template:Did you know/Queue', "Queue");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/User:Alex Shih/SPI', "SPI");				mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/User:Alex Shih/Watchlist', "Watchlist"); mw.util.addPortletLink('p-variants', mw.config.get( 'wgServer' ) + '/wiki/User:Alex Shih/Workspace', "Workspace"); return; }		});	}); }); //