User:Alexiel Lucifen/global.js

$('#WikiaBar .toolbar .tools').append("Analytics"); window.DisplayClockJS = { format: '%2I:%2M:%2S %p %{Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday}w, %{January;Febuary;March;April;May;June;July;August;September;October;November;December}m %2d, %Y (EST)', offset: -300 }; massCategorizationDelay = 1000; importArticles({	type: 'script',	articles: [       'u:dev:MediaWiki:UTCClock/ucx.js',        'u:dev:MediaWiki:View_Source/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:WikiActivity.js',        'u:dev:MediaWiki:ThemeToggler.js',        'u:dev:MediaWiki:UCXSearchBar.js',	] });

$(function {    //getUrl originally by BryghtShadow    function getUrl  {        var otherSkin = mw.config.get('skin') === 'oasis' ? 'fandomdesktop' : 'oasis';        var url = new URL(location.href);        url.searchParams.set('useskin', otherSkin);        return url.toString;    }

$('', {       append: $('', { text: 'Switch Skin', href: getUrl, }),       prependTo: $('#WikiaBar .toolbar .tools')    }); });