User:Prince(ss) Platinum/global.js

if (wgPageName !== "Special:Chat") {

//Toolbar links $('.toolbar').find('ul').append('AbuseFilterAbuseLogChat');

//Auto Userpage var qtEnableUserPageOverwrite = true;

//Recent changes module var RC = ' ' + 'Recent Changes' + ' ' + ' ' + ' ';   $('#WikiaRail').prepend(RC);

if ($('#info-widgets').length) { importScriptPage('InfoWidgets/code.js', 'dev'); window.widgetsLoaded = function { recentChanges = Widgets.recentChanges; recentChanges.selector = '#info-widgets'; Widgets.add(recentChanges); }   }

//AjaxRC variables var ajaxPages = ["Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:Contributions", "Special:WikiActivity"]; var ajaxRefresh = 15000;

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

//Sine Sine = { sine: 'Princess PlatinumTalk] or Message Wall]' };

//Articles import importArticles({       type: "script",        articles: [            "w:c:dev:RevealAnonIP/code.js",            "w:c:dev:AjaxRC/code.js",            "w:c:dev:AjaxUndo/code.js",            "w:c:dev:MarkForDeletion/code.js",            "w:c:dev:AdvancedOasisUI/code.js",            "w:c:dev:Sine/code.js",            "w:c:dev:QuickCreateUserPage/code.js",        ]    }); } else {

//ChatOptions importScriptPage('ChatOptions/code.js', 'dev');

//Extra Commands $(function {        $('[name="message"]').keypress(function (e) { if (e.which == 32 || e.which == 13) { switch (this.value) { case '/coppa': this.value = 'http://coppa.org - You must be 13 or older to legally have an account on Wikia.'; break; case '/blocks': this.value = wgSiteName + ' chat is not the place to discuss blocks/bans on this or another wiki. If you have a problem then it is best to contact Wikia staff: Special:Contact/general or Special:Contact/blocked'; break; case '/spam': this.value = 'If your wiki is being spammed or vandalized you need to contact the VSTF immediately'; break; case '/change': this.value = 'If you would like to request that your account be renamed please see Special:Contact/rename-account'; break; case '/greet': this.value = 'Hello and welcome to ' + wgSiteName + ' chat!'; break; }           }        });    }); }