User:Bat Forever/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* Any JavaScript here will be loaded for all users on every page load. */ /* Collapsible classes * See w:c:dev:ShowHide for info and attribution */ importScriptPage('ShowHide/code.js', 'dev'); /* track incontent share fb button */ $(function{   $("#incontent_share").click(function{ WET.byStr("articleAction/incontent_share/" + wgPageName); }); }); /* Replaces with the name of the user browsing the page. Requires copying Template:USERNAME. */ function UserNameReplace { if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace); /* End of the replacement */

var autoCollapse = 2; var collapseCaption = "hide"; var expandCaption = "show"; var maxHeight = 300; AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; importScriptPage('AjaxRC/code.js', 'dev'); /* Adds "purge" option to page controls
 * See w:c:dev:PurgeButton for info & attribution

importScriptPage('PurgeButton/code.js', 'dev');

importScriptPage('RevealAnonIP/code.js', 'dev');

importArticle({type:'script', article:'w:c:dev:DisplayClock/code.js'});

importScriptURI( 'http://help.wikia.com/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' ); importStylesheetURI( 'http://help.wikia.com/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/javascript' )