User:Spongebob456/global.js

/* Special:Chat Extension */

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* add history to the dropdown menu for pages */ function HistoryDropdownMenuItem { $('ul.wikia-menu-button li:first-child ul li:first-child').after('History'); } /* Auto Refresh */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; /* Advanced OasisUI */ window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, lightbox: true, randomPageLimitedTo: '', userLang: true, }; /* Script Import */ importArticles({   type: "script",    articles: [        "w:dev:AjaxRC/code.js",        "w:dev:AjaxUndo/code.js",        "w:dev:HideRail/code.js",        "w:dev:DisplayTimer/code.js",        "w:dev:AdvancedOasisUI/code.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' );        }    } } ); //