MediaWiki:Wikia.js

importScriptPage('InactiveUsers/code.js', 'dev'); importScriptPage('SpoilerAlert/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('ShowHide/code.js', 'dev'); importScriptPage('EditIntroButton/code.js', 'dev'); importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('SignatureCheck/code.js', 'dev'); importScriptPage('AutoEditDropdown/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('RevealAnonIP/code.js', 'dev'); importScriptPage('ListFiles/code.js', 'dev'); importScriptPage('View_Source/code.js', 'dev'); importScriptPage('ReferencePopups/code.js', 'dev'); importScriptPage('ArchiveTool/code.js', 'dev'); importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('PortableCSSPad/code.js', 'dev'); importScriptPage('Wikimarks/code.js', 'dev'); importScriptPage('HideRail/code.js', 'dev'); importScriptPage('AllPagesHideRedirect/code.js', 'dev'); importScriptPage('Highlight/code.css', 'dev'); importScriptPage('MediaWiki:Wikia.js/cancelButton.js', 'admintools'); importScriptPage('MediaWiki:Common.js/accountNavigation.js', 'runescape'); importScriptPage('MediaWiki:Common.js/StandardEditSummaries.js', 'terraria'); importScript('MediaWiki:Wikia.js/editCount.js'); importScript('MediaWiki:Wikia.js/Ticker.js'); importScript('MediaWiki:Wikia.js/userRightsIcons.js'); importScript('MediaWiki:Wikia.js/SubNav.js'); importScript('MediaWiki:Wikia.js/DisplayTimer.js'); ajaxPages = ["Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:Forum"]; AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; importScriptPage('AjaxRC/code.js', 'dev'); if (!$('script[src*="title=User:'+wgUserName+'/wikia.js"]').length) { importScript('User:' + wgUserName + '/wikia.js'); } if (!$('link[href*="title=User:'+wgUserName+'/wikia.css"]').length) { importStylesheet('User:' + wgUserName + '/wikia.css'); } /* Monobook Button */ var sfwMonobookSwitch = document.createElement("a"); sfwMonobookSwitch.className = "wikia-button"; sfwMonobookSwitch.id = "SFWMonobookSwitch"; sfwMonobookSwitch.href = "?useskin=monobook"; sfwMonobookSwitch.innerHTML = "Monobook"; document.getElementsByClassName('header-container')[0].appendChild(sfwMonobookSwitch);

/* Insert username for */ $(function {   if(typeof(disableUsernameReplace) != 'undefined' && disableUsernameReplace || wgUserName == null) return;    $("span.insertusername").text(wgUserName); });