User:Agent Spy/global.js

importArticles({   type: 'script',    articles: [        'u:dev:AdvancedOasisUI/code.js',        'u:dev:AjaxBatchDelete/code.2.js',        'u:dev:AjaxRC/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AutoEditDropdown/code.js',        'u:dev:ChatBlockButton/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:DupImageList/code.js',        'u:dev:FileUsageAuto-update/code.js',        'u:dev:FloatingToc/code.js',        'u:dev:MarkForDeletion/code.js',        'u:dev:Message/code.js',        'u:dev:OldFilePages/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:PurgeBlogs/code.js',        'w:dev:QuickCreateUserPage/code.js',        'u:dev:RelatedDiscussionsModule/code.js',        'u:dev:VisualSpellCheck/code.js',        'u:dev:WallGreetingButton/code.js',        'u:trcsandbox:User:Agent Spy/chat.js',    ] });

//AdvancedOasisUI AdvancedOasisUI = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, DefaultSourceMode: true, lightbox: true, randomPageLimitedTo: '', activity2RC: true, userLang: true, };

// 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; }

//Tabkey var tabKeyEnabled = true; importScriptPage('User:Joeytje50/tabkey.js','rs');

//Talk Pages window.talkWikis = ['legomessageboards']; importScriptPage('UserTalkNotifications/code.js', 'dev');

//QuickCreateUserpage var qtUserPageTemplate = '';

var qtEnableUserPageOverwrite = true;

//Combined all of the scripts into one for efficiency (function(window, mw, $) {   //Edit count tab    var wikiUrl = window.location.hostname;    var olds = $(".tabs-container > ul.tabs").html;    var address = "http://" + wikiUrl + "/wiki/Special:Editcount/" + wgTitle;    var adds = "Editcount";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news);    //********************    //Add sandbox link to the user dropdown on the Wikia bar    $('Sandbox  ').insertAfter('.AccountNavigation > li > .subnav > li:first-child');    //********************    //Add editcount link to the user dropdown on the Wikia bar    $('My editcount   ').insertAfter('.AccountNavigation > li > .subnav > li:nth-child(3)');    //******************** //Add quicklink to Special:Statistics $(' Statistics ').appendTo('.WikiaBarWrapper .toolbar .tools .tools-menu'); //********************   //Add quicklink to Special:WikiStats $(' Advanced</a> </li>').appendTo('.WikiaBarWrapper .toolbar .tools .tools-menu'); //********************   //Add back WikiActivity $( '#WikiHeader > nav .subnav-2.firstChild' ).prepend( '<a class="subnav-2a" href="/wiki/Special:WikiActivity">Wiki Activity</a></li>' ); //********************   //Admin CP link in Wikia Bar if (wgUserGroups.indexOf('sysop')!=-1||wgUserGroups.indexOf('bureaucrat')!=-1) { $('.WikiHeader nav ul li.marked ul').append('<a class="subnav-2a" href="/wiki/Special:AdminDashboard">Admin CP</a></li>'); }   //********************    //Quick links to Special:Contact $(' <a href="/wiki/Special:Contact/general">Contact Wikia</a> </li>').appendTo('.WikiaBarWrapper .toolbar .tools .tools-menu'); //********************   //Email Wikia Staff $(' <a href="mailto:support@wikia.com">Email Wikia</a> </li>').appendTo('.WikiaBarWrapper .toolbar .tools .tools-menu'); //********************   //History links in edit window if ( wgNamespaceNumber == "0" ) { $('<span class="cke_toolbar_expand" style="padding-left: 10px; border-left: 1px solid #ccc;"><a class="expand" href="/wiki/' + wgTitle + '?action=history" target="_blank" style="display: inline;"> view history ⌚ </a> ').insertAfter('.cke_toolbar_expand:first-of-type'); } else { $('<span class="cke_toolbar_expand" style="padding-left: 10px; border-left: 1px solid #ccc;"><a class="expand" href="/wiki/' + wgCanonicalNamespace + ':' + wgTitle + '?action=history" target="_blank" style="display: inline;"> view history ⌚ </a> ').insertAfter('.cke_toolbar_expand:first-of-type'); } }(this, this.mediaWiki, this.jQuery));