User:DeletedAccount738/global.js

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

importScriptPage('User:Seaside98/normal.js', 'c');

/* BotoneraPopups */ importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/en.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev'); // Create if not exists if (!window.BotoneraPopups) { window.BotoneraPopups = {}; } // Open popup on keypress if (BotoneraPopups.setDisplayOnKeyDown) { BotoneraPopups.setDisplayOnKeyDown(true); } else { BotoneraPopups.displayOnKeyDown = true; }

/* AutoEditDropdown */ importArticles({   type: 'script',    articles: [        'w:c:dev:AutoEditDropdown/code.js'    ] });

/* EditIntroButton */ /* WhatLinksHere */ var nsNr = mw.config.get( 'wgNamespaceNumber' ); function addMenuButtons { var selector; switch (nsNr) { case 500: case 502: selector = $( '#WikiaUserPagesHeader' ); break; case 2: case 3: selector = $( '.UserProfileActionButton' ); if ( selector.length ) break; default: selector = $( '#WikiaPageHeader' ); }       selector.find('.wikia-menu-button').first.find('ul') .append('Current diffLinksEdit intro'); } addMenuButtons;

/* Logs */ if ( wgPageName == "Special:WikiActivity" || wgPageName == "Special:WikiActivity/watchlist" || wgPageName == "Special:WikiActivity/activity" ) { appTo = ( $( '#WikiaPageHeader' ).length ) ? $( '#WikiaPageHeader .activity-nav ul' ) : ( $( '#AdminDashboardHeader' ).length ? $( '#AdminDashboardHeader > h1' ) : $( '.firstheading' ) ); appTo.append( 'Logs' ); } else if ( wgPageName == "Special:Log" || wgPageName == "Special:RecentChanges" ) { appTo = ( $( '#WikiaPageHeader' ).length ) ? $( '#WikiaPageHeader > h2' ) : ( $( '#AdminDashboardHeader' ).length ? $( '#AdminDashboardHeader > h1' ) : $( '.firstheading' ) ); appTo.append( '<a href="/wiki/Special:WikiActivity">Activity</a></li>' ); }

/*Add back WikiActivity*/ $( '#WikiHeader > nav .subnav-2.firstChild' ).prepend( '<a class="subnav-2a" href="/wiki/Special:WikiActivity">Wiki Activity</a></li>' );

/* RevealAnonIP */ // http://dev.wikia.com/wiki/RevealAnonIP window.RevealAnonIP = { permissions : ['*'] };

importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/code.js"    ] });