User:Roadhawk/global.js

importScriptURI('http://janitor.wikia.com/index.php?title=User:KATANAGOD/scripts.js&action=raw&ctype=text/javascript'); importScriptPage('User:Sactage/wham.js','vstf'); if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); } importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/tabinsert.js','rs'); importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Madnessfan34537/quickban.js', 'callofduty');

importScriptPage('PurgeButton/code.js', 'dev') $(function { $('SpecialPages').insertBefore('.AccountNavigation .subnav li:first'); }); /* change publish to save and rename to move */ function PublishToSave { $('#wpSave').val('Save changes'); $('a[data-id="move"]').html('Move'); } window.onload=PublishToSave // ***************************** // Kill image popup (from Rappy) // ***************************** $(function changeimagelinks {   if (window.skin == 'oasis') {        var article = $('#WikiaArticle, .LatestPhotosModule, #article-comments');    }    else {        var article = $('#bodyContent');    }    article.unbind('click.lightbox');    var a = document.getElementsByTagName("a");    for ( var t = 0; t < a.length; ++t ) {        var a2 = a[t];        var img = a2.getElementsByTagName("img");        if ( img[0] != null ) {            if ( a2.href.indexOf("wikia.nocookie.net") != -1 ) {                var link = wgServer + '/wiki/File:' + a2.getAttribute('data-image-name');                a2.setAttribute('href',link);            }        }    } });

function kickUserButton { var kickuser = prompt('Enter Username here','User'); if (kickuser.length != 0) { mainRoom.kick({name:kickuser}); } } $('Kick ').prependTo('.Rail');

importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] });

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

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

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

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

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

importArticles({   type: 'script',    articles: [        'w:c:dev:AutoEditDropdown/code.js'    ] });

importArticles({   type: "script",    articles: [        // Useful buttons        "u:c:User:Jr Mime/buttons.js",

// Advanced tools "w:c:dev:QuickTools/advanced.js",

// Kill Tool "w:c:answers:User:The Mol Man/Annihilate.js",

// Kill Tool V2 //     "w:c:dev:Sonicboom/code.js",

//Quick Tools (v1) "w:c:dev:QuickTools/code.js" ] });

window.fdButtons = [];

window.fdButtons[window.fdButtons.length] = { summary: 'Housekeeping', label: 'Housekeeping' };

window.fdButtons[window.fdButtons.length] = { summary: 'Vandalism', label: 'Vandalism' };

window.fdButtons[window.fdButtons.length] = { summary: 'Unneeded/Unrelated', label: 'Unneeded/Unrelated' };

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

importScriptPage('Translator/Translator.js', 'dev');

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