Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// 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( '<li class="overflow"><a href="http://malazan.wikia.com/wiki/Malazan Wiki:Toolbox" title="A table of handy links">Toolbox</a></li>' );
} 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": "<ref>",
"tagClose": "</ref>",
"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": "<ref>",
"tagClose": "</ref>",
"sampleText": "[[Gardens of the Moon]], [[GM/|Chapter ]], UK MMPB p."
};
}