User:Roadhawk/global.js

importArticles({   type: 'script',    articles: [        'w:dev:QuickCreateUserPage/code.js'    ] }); var qtEnableUserPageOverwrite = true; var qtUserPageTemplate = '';

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

//Imports importScriptPage('MessageBlocker/code.js', 'dev'); importScriptPage('MediaWiki:B3.js', 'monchbox'); importScriptPage('SkinSwitchButton/code.js', 'dev'); importScriptPage('View_Source/code.js', 'dev'); importScriptPage('MediaWiki:WhamAPI.js', 'monchbox'); importScriptPage('ListAdmins/code.js', 'dev'); importScriptPage('User:Joeyaa/wham.js','vstf'); importScriptPage('MarkForDeletion/code.js', 'dev'); importScriptPage('Translator/Translator.js', 'dev'); importScriptPage('ArchiveTool/code.js', 'dev'); importScriptPage('SocialIcons/code.js','dev'); importScriptPage('ExternalImageLoader/code.js', 'dev');

importArticles({   type: 'script',    articles: [ //      "w:c:dev:Sonicboom/code.js",        "u:c:User:Jr Mime/buttons.js",        "w:c:dev:QuickTools/advanced.js",        "w:c:answers:User:The Mol Man/Annihilate.js",        "w:c:dev:RevealAnonIP/usercode.js",        "w:c:dev:QuickTools/code.js",        "u:dev:MarkForDeletion/code.js",        "w:c:answers:MediaWiki:Gadget-HotCat.js",        "w:c:dev:NoImageLightbox/code.js",        "w:c:a:User:Jr Mime/MarkForTemplate.js",        "w:c:dev:CacheCheck/code.js",    ] });

importArticles({	type: 'script',	articles: [       'u:dev:Thread Inspection/code.js',        'u:dev:Message/code.js',        'u:dev:FastDelete/code.js',        // ...        'u:dev:CapsFirst/code.js',        // ...        'u:dev:SexyUserPage/code.js',        'w:c:dev:AutoEditDropdown/code.js',        'u:dev:ChatReload/code.js',        'u:dev:UserRightsRecord/code.js',        'u:dev:PortableCSSPad/code.js',       'u:dev:Code/code.js',       'u:dev:PageMakerPro/code.js',       'w:c:mostlyeverything:User:Sactage/RollbackMods.js',        // ...        'u:dev:FastDelete/code.js',        // ...    ] }); //End of Imports

//FD Buttons 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' };