User:Kangaroopower/global.js

/* B3, Chat Hacks, WhamAPI */ importScriptPage('MediaWiki:B3.js', 'monchbox'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('MediaWiki:WhamAPI.js', 'monchbox');

/* Ajax RC-pcj and Grunny */ ajaxPages = ["Special:RecentChanges","Special:Log","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Ajax Undo- Grunny */ importScriptPage( 'AjaxUndo/code.js', 'dev' ); /* Wham-Joeyaa */ importScriptPage('User:Joeyaa/wham.js','vstf'); /* Advanced Oasis UI- Porter21 */ var AdvancedOasisUIConfig = { RCHeader: false }; importScriptPage('AdvancedOasisUI/code.js', 'dev'); var KPPage = encodeURIComponent(wgPageName); /* Links */ if (skin == 'oasis' || skin == 'wikia' ) { // Add link to B3 in the toolbar. (Requires other js for this to be of any use) $('#WikiaFooter ul.tools').prepend('B3'); // Add Monobook tab to global nav $('#GlobalNavigation').append('MB'); } /* Custom Edit button if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"}; }