User:SevenArrows/global.js

importScriptPage("User:Foodbandlt/FixedChatHacks.js","c");

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('SearchGoButton/code.js', 'dev'); $('[name="message"]').keypress(function(e) { if (e.which == 32 || e.which == 13) { this.value = this.value.replace(/^(.)/,'$1'.toUpperCase); } });