User:Egwene of the Malazan Empire/global.js

// Skin Switch Button for monobook to oasis and vice versa // and for monobook and oasis to wikiamobile. // The button in Oasis is on the bottom toolbar. importScriptPage('SkinSwitchButton/code.js', 'dev');

// Adds a button for the Malazan Wiki:Toolbox to the bottom toolbar's "My Tools" menu in oasis and a button along the top bar in monobook. if(skin=='oasis') { $('#my-tools-menu').prepend( ' Toolbox' ); } else { $(mw.util.addPortletLink( 'p-cactions', 'http://malazan.wikia.com/wiki/Malazan_Wiki:Toolbox', 'toolbox', null, 'A table of handy links' )); }

// Ref Button for toolbar if (mw.toolbar) { mw.toolbar.addButton({		"imageFile": "http://vignette3.wikia.nocookie.net/malazan/images/a/a7/Button_blank_ref.png/revision/latest?cb=20161206102818",		"speedTip": "ref code standard",		"tagOpen": " ",		"sampleText": ",/|/, UK B p."	}); }