User:RuthlessChimpanzee/global.js

/* APIQuery, B3, wham, chat hacks */ importScriptURI('http://monchbox.wikia.com/index.php?title=MediaWiki:APIQuery.js&action=raw&ctype=text/javascript'); importScriptURI('http://monchbox.wikia.com/index.php?title=MediaWiki:B3.js&action=raw&ctype=text/javascript'); importScriptURI('http://monchbox.wikia.com/index.php?title=MediaWiki:WhamAPI.js&action=raw&ctype=text/javascript'); importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript');

/* Haxed Buttons - Based off of Porter21's code. */ function addOasisUIButtons { var KPPage = encodeURIComponent(wgPageName); var toolbar = $('#WikiaFooter ul.tools'); var globalnav = $('#GlobalNavigation'); // Add buttons to toolbar $(function {        toolbar.prepend('B3');      }); // Add Monobook tab to global nav $(function {        globalnav.append('MB');      }); } jQuery(function($) {  if (skin == 'oasis' || skin == 'wikia') {      addOasisUIButtons ;   } });