User:Tama63/global.js

// autosigner: $(function {    talkNameSpaces = [1,3,5,7,9,11,13,15,110,111,114,401,500,501,502,503];    if (-1 < $.inArray(wgNamespaceNumber, talkNameSpaces) && 'edit' == $.getUrlVar('action')) {        appendSignature = function  {            if ($('input#wpMinoredit').is(':checked')) return;            var sig = '-- ' + String.fromCharCode(126) + '~';            switch (editorInstance.mode) {                case 'wysiwyg':                    editorInstance.getEditbox.append(sig);                break;                case 'source':                    editorInstance.setContent(editorInstance.getContent + sig);                break;            }        }        $('input#wpSave').click(appendSignature);        $('a#publish').click(appendSignature);    } }); // ================================================================== // CC added to the global nav // ================================================================== $(document).ready(function {   if (skin == 'oasis')         $('').prependTo('#GlobalNavigation'); }); //Monch!!!!!!! importScriptURI('http://c.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw&ctype=text/javascript'); //Multiple PMS 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'); }