User:Lele Mj/global.js

/* add contribs to user menu - 2/1/11 */

function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); } addOnloadHook(UserContribsMenuItem);

/* Adds "purge" option to page controls * See w:c:dev:PurgeButton for info & attribution */

PurgeButtonText = 'Atualizar'; importScriptPage('PurgeButton/code.js', 'dev');

//Add this to your global.js file (http://c.wikia.com/wiki/Special:MyPage/global.js) //Then, when you click the "join chat" button in the sidebar, you'll have awesome chat hacks 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'); }