User:Iliyana Petkova/global.js

/* Fixed Chat Hacks */ importScriptPage('User:Foodbandlt/FixedChatHacks.js', 'c'); importScriptPage('ShowHide/code.js', 'dev'); importScriptPage('AjaxRC/code.js', 'dev');

/* PMs button */ if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma separated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('Group'); }

/* skin change buttons */ function CreateSkinChangeButtons { //Oasis buttons $('div.buttons a:first-child').before('MonobookVector'); //Monobook buttons $('#p-cactions .pBody ul li:nth-last-child(1)').after('OasisVector'); } addOnloadHook(CreateSkinChangeButtons);

/* WHAM */ WHAMDelay = 1000; importScriptPage('MediaWiki:WHAM/code.2.js', 'dev');

/*PortableCSSPad */

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