User:Whistle9/global.js

/* Auto Refresh */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"];

/* Display Clock */ window.DisplayClockJS = { location: 'global', hoverText: 'Purge the server cache and update the contents of this page.' };

/* Advanced OasisUI */ window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, lightbox: false, randomPageLimitedTo: '', userLang: true, };

/* Script Import */ importArticles({   type: "script",    articles: [        "w:wikimarks:Client.js",        "w:dev:AjaxRC/code.js",        "w:dev:AjaxUndo/code.js",        "w:dev:HideRail/code.js",        "w:dev:View_Source/code.js",        "w:dev:DisplayClock/code.js",        "w:dev:AdvancedOasisUI/code.js",        "w:dev:NoImageLightbox/code.js",        "w:dev:FileUsageAuto-update/code.js",        "w:dev:RelatedDiscussionsModule/code.js",        "w:kangaroopower:Mediawiki:Scope.js",    ] });

// Skin Switch Button $( function {    if ( !document.getElementById( 'ca-skins' ) ) {        if ( skin === 'oasis' || skin === 'wikia' ) {            $('ul.tools li:first-child').before('Monobook' );        } else {            $( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' );        }    } } ); //