User:Ozuzanna/global.js

// START Wiki-based scripts importScript('MediaWiki:Gadget-HotCat.js', 'answers'); importScriptPage('User:The Mol Man/Annihilate.js','answers'); importScriptPage('AjaxRC/code.js', 'dev'); AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; // END Wiki-based scripts

// START Chat-based scripts importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); $('[name="message"]').keypress(function(e) { if (e.which == 32 || e.which == 13) { this.value = this.value.replace(/^(.)/,'$1'.toUpperCase); } }); // END Chat-based scripts