User:Josephyr/global.js

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('AjaxBatchDelete/code.js', 'dev');

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

//Importing all script pages

//Chat Tags importScriptPage('ChatTags/code.js', 'dev');

//Chat Options $.getScript("https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js");

//Chat Message Blocker importScriptPage('MessageBlocker/code.js', 'dev');

//Auto Refresh window.ajaxRefresh = 15000; importScriptPage('AjaxRC/code.js', 'dev');

//Reveal "A Wikia Contributor"'s IP Adress importScriptPage('RevealAnonIP/code.js', 'dev'); $(function { $('SpecialPages').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('Testing Center').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('Status').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('Wikia.js</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('<a href="/wiki/Special:Leaderboard">Ranks</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('<a href="/wiki/User blog:JosephHawk">Blawg</a></li>').insertBefore('.AccountNavigation .subnav li:first'); });

$(function { $('<a href="/wiki/Special:Contributions/JosephHawk">My Stuff</a></li>').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 // ******************* // Custom edit buttons // ******************* if (wgAction == "edit" || wgAction == "submit") { /***** Custom edit buttons *****/ if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images2.wikia.nocookie.net/__cb20100502153339/callofduty/images/1/17/Button_Ssig.jpg", "speedTip": "Signature", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#redirect",               "tagClose": "", "sampleText": "PAGE"}; } }

// *********************** // End custom edit buttons // ***********************

// ********** // Fastdelete // ********** importScriptPage('FastDelete/code.js', 'dev'); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Unnecessary ', 'label': 'Unnec'}; fdButtons[fdButtons.length] = { 'summary': 'Off Topic', 'label': 'Off topic'}; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 'Spam'}; fdButtons[fdButtons.length] = { 'summary': 'Housekeeping', 'label': 'Housekeeping'}; // ************** // End Fastdelete // **************

// **** // WHAM // ****