User:MrAwesome8/global.js

importScriptPage('WikiaNavBarHider/code.js', 'dev'); //importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage('User:Madnessfan34537/ignore.js','cod'); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('User:Sannse/forumtools.js', 'community'); importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Madnessfan34537/quickban.js', 'callofduty'); //importScriptPage('User:Splarka/contribtools.js', 'community'); // -- importScriptPage('FastDelete/code.js', 'dev'); importScriptPage('User:Sannse/Imagelisttools.js', 'community'); importScriptPage('User:MrAwesome8/ChatHacks.js', 'c'); importScriptPage('http://dragonvale.wikia.com/wiki/MediaWiki:Common.js', 'c'); importScriptPage('ViewRemoved/code.js', 'dev'); importScriptPage('Colors/code.js', 'dev'); importScriptPage('RelocateEditDiscussionButtons/code.js', 'dev'); importScriptPage('MessageBlock/code.js', 'dev');

var MultiUploadoption = { max: 50 };

importScriptPage('MultiUpload/code.js', 'dev'); // // ============================================================ // displayTimer // ============================================================ var refreshDate; function addDate { var UTCDate = ((new Date).toUTCString).replace("GMT", "(UTC)"); $('#showdate').empty.append(' ' + UTCDate.substring(5) + ' '); window.clearTimeout(refreshDate); refreshDate = window.setTimeout(addDate, 5000); } $(document).ready(function {   if (skin == 'oasis')         $(' ').appendTo('#GlobalNavigation');    else        $('#p-personal ul').prepend(' ');    addDate;    refreshDate = window.setTimeout(addDate, 5000);    $('#displayTimer').css({'font-size': "12px"}); }); //

var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': '* Violation of Wikia\'s Terms of Use ', 'label': 'ToU'}; fdButtons[fdButtons.length] = { 'summary': 'Removed by Wikia staff due to potential copyright issues', 'label': 'copyrt'}; fdButtons[fdButtons.length] = { 'summary': 'Requested deletion', 'label': 'reqst'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'other'}; if(wgNamespaceNumber!=-1) addOnloadHook(function { addPortletLink('p-cactions','/wiki/Special:Prefixindex/' + escape(wgPageName),'Subpages','ca-subpages','Show subages of ' + wgPageName); }); importScriptPage('User:Joeyaa/wham.js','vstf'); $('a[data-name="customize"]').html( function{ return $(this).parent.find('img').detach } ); importScriptURI( 'https://internal.wikia-inc.com/index.php?title=MediaWiki:CU.js&action=raw&ctype=text/javascript' );

//importScriptPage('User:~=(iNate)=~/ChatHacks.js', 'c');

window.InactiveUsers = function (my) { function restart { $(function {            $('.inactive-user', '#UserProfileMasthead')            .add('.inactive-user', 'h1#firstHeading')            .remove;        }); }       function getSkinType  { switch (skin) { case 'uncyclopedia': case 'wowwiki': case 'lostbook': case 'monobook': return 'monobook'; case 'oasis': case 'wikia': return 'oasis'; default: return false; }   }    function getUserName  { switch (my.skinType) { case 'monobook': if (2 !== wgNamespaceNumber || -1 !== wgTitle.indexOf('/')) return false; return wgTitle; case 'oasis': if (-1 < [2,3,500,501,1200].indexOf(wgNamespaceNumber) && -1 === wgTitle.indexOf('/')) { return wgTitle; } else if (-1 === wgNamespaceNumber && -1 < ['Contributions','Following'].indexOf(wgCanonicalSpecialPageName)) { if ('/index.php' == location.pathname) { return $.getUrlVar('target') || false; }                   var lastPart = location.pathname.split('/').pop; if (lastPart.length && lastPart != wgPageName) { return decodeURIComponent(lastPart.replace(/_/g, ' ')); }                   return wgUserName; }               return false; default: return false; }   }    function getApiUrl  { function ISODateNDaysAgo (days) { function pad (n) { return n < 10 ? '0' + n : n; } function ISODateString (d) { return   d.getUTCFullYear + '-' + pad(d.getUTCMonth+1) + '-' + pad(d.getUTCDate)   + 'T' + pad(d.getUTCHours)  + ':' + pad(d.getUTCMinutes) + ':' + pad(d.getUTCSeconds) + 'Z' ; }           return ISODateString(new Date(Date.now - days * 24 * 60 * 60 * 1000)); }       return '/api.php?action=query&list=usercontribs&uclimit=1&ucprop=title|timestamp&format=json' + '&ucuser=' + encodeURIComponent(my.userName) + '&ucstart=' + ISODateNDaysAgo(0) + '&ucend='  + ISODateNDaysAgo(30 * Math.max(1, parseInt(my.months, 10))); }   function labelAsInactive  { switch (my.skinType) { case 'oasis': $(function {                    $('hgroup', '#UserProfileMasthead').append( ' ' + my.text + ' ' );               });                break; case 'monobook': $(function {                    $('h1#firstHeading').append( ' [' + my.text + '] ' );               })                break; }   }    my = $.extend({        text: 'inactive', gone: [], months: 2, debug: false    }, my); if (my.debug) restart; my.skinType = getSkinType; my.userName = getUserName; if (!my.skinType || !my.userName) { if (my.debug) console.log('InactiveUsers(abort): ', my); return; }   if (-1 < my.gone.indexOf(my.userName)) { if (my.debug) console.log('InactiveUsers(gone): ', my); labelAsInactive; } else { my.apiUrl = getApiUrl ; $.getJSON(my.apiUrl, function (result) {           my.reply = result;            if (result.query && result.query.usercontribs && !result.query.usercontribs.length) {                if (my.debug) console.log('InactiveUsers(query): ', my);                labelAsInactive;            }            if (my.debug) console.log('InactiveUsers(abort): ', my);        }); }   return my; } (window.InactiveUsers = window.InactiveUsers || {});

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Rappy_4187/scripts.js&action=raw&ctype=text/javascript'); // PurgeButton PurgeButtonText = 'Purge'; importArticles({   type: 'script',    articles: [        'u:dev:FastDelete/code.js',        'u:dev:PurgeButton/code.js'] });

importScriptURI('http://janitor.wikia.com/index.php?title=User:RansomTime/scripts.js&action=raw&ctype=text/javascript')

//comments importArticles({   type: 'script',    articles: [        'u:dev:QuickComments/advanced.js'    ] });

//threads importArticles({   type: 'script',    articles: [        'u:dev:QuickThreads/code.js'    ] });

importScriptPage('User:MrAwesome8/mpbutton.js', 'dev');

//image category and rename massRenameDelay = 1000; massRenameSummary = 'automatic'; importScriptPage('MassRename/code.js', 'dev');

importScriptPage("CategoryRenameAuto-update/code.js", "dev");

massCategorizationDelay = 1000; importScriptPage('MassCategorization/code.js', 'dev');