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 ( mwCustomEditButtons ) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/malazan/images/a/a7/Button_blank_ref.png", "speedTip": "ref code standard", "tagOpen": " ", "sampleText": ", /|Chapter, UK B p." };

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/malazan/images/e/e4/Button_GM.png", "speedTip": "ref code GM", "tagOpen": " ", "sampleText": "Gardens of the Moon, Chapter, UK MMPB p." };

}