User:Underscorre/global.js

PurgeButtonText = 'Purge'; // Text for "purge" button added to edit dropdown

var ajaxPages = ["Special:RecentChanges", "Special:WikiActivity", "Special:Log"]; // Pages to have content reloaded with AJAX var ajaxRefresh = 15000; // Delay of 15 seconds between AJAX reloads, as opposed to the default 30

window.DisplayClockJS = '%2I:%2M:%2S %p %2d %{January;February;March;April;May;June;July;August;September;October;November;December}m %Y (UTC)'; // Date format for clock in top right

importArticles({ // Import useful Javascript stuff from dev.wikia.com   type: 'script',    articles: [        'u:dev:AjaxRC/code.js',        'u:dev:AjaxRedirect/code.js',        'u:dev:DisplayClock/code.js',        'u:dev:FindAndReplace/code.js',        'u:dev:LastEdited/code.js',        'u:dev:PurgeButton/code.js',        'u:dev:QQX/code.js',        'u:dev:RelocateEditDiscussionButtons/code.js',        'u:dev:SkinSwitchButton/code.js',        'u:dev:ViewRemoved/code.js'    ] });

$(function{ // Changes the global nav to not be as intrusive.   $(".wikia-logo-container").css("display", "none"); // Don't display Wikia logo in global nav    $(".hubs-container").css("display", "none"); // Don't display "hubs" in global nav    $("#globalNavigation").css("position", "relative"); // Force global nav to stay at top    $(".global-navigation").css("position", "relative"); });

$(function { // Stolen from w:c:admintools, adds an "Editcount" tab to the user profile header thing   var username = wgTitle.indexOf("Contributions/") != -1 ? wgTitle.replace("Contributions/", "") : wgTitle;    $('.tabs-container > ul.tabs').append('Editcount'); });

var persistentParameterList = ['oasisbreakpoints=0', 'oasistypography=0'] importScriptPage('PersistentParameters/code.js', 'dev');