User:MrAwesome8/global.js

importScriptPage("MisspelledPage/code.js", "dev"); 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:MrAwesome8/quickban.js', 'dev'); //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'); //importScriptPage('User:MrAwesome8/BatchCreate/code2.js', 'dev'); importScriptPage("PageMakerPro/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"}); }); //

//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');