User:Pecoes/global.js

Sine = { sine: '' + String.fromCharCode(126) }; ajaxPages = ['Special:RecentChanges', 'Special:WikiActivity','Forum:Support_Requests','Admin_Forum:Technical_Help']; InactiveUsers = { debug: true };

((window.mw = window.mw || {}).loader = window.mw.loader || {}).state = window.mw.loader.state || function{}; function importScripts { $.getScript(       'http://community.wikia.com/load.php?debug=false&only=scripts&mode=articles&articles=' +        Array.prototype.slice.call(arguments).join('|')    ); } function importStylesheets { $(document.head).append(''); }

importScripts(   'w:c:dev:Sine/code.js',    'w:c:dev:FastDelete/code.js',    'w:c:dev:AjaxUndo/code.js',    'w:c:dev:PurgeButton/code.js',    'w:c:dev:AjaxRC/code.js',    'w:c:dev:InactiveUsers/code.js',    'w:c:wikimarks:Client.js',    'User:Pecoes/diff.js',    'w:c:pecoes:Demo.js' );

RailgunConfig = { isDebug: true }; importScriptURI('http://railgunscript.wikia.com/wiki/MediaWiki:RailgunClient.min.js?action=raw&ctype=text/javascript&maxage=0&smaxage=0');

/* $(function {    if (window.ArticleComments && $.inArray("Locked blogs", mw.config.get('wgCategories')) > -1) {        ArticleComments.interceptedAddHover = ArticleComments.addHover;        ArticleComments.addHover = function  {            $('a.wikia-button.comments.secondary').html('Comments hidden');            $('#article-comm').attr('disabled','disabled').text('Comments on this article have been disabled.');            $('#article-comm-submit').attr('disabled', 'disabled');            $('.article-comm-reply').remove;            ArticleComments.interceptedAddHover;        };    } });