Community Central
Community Central
No edit summary
No edit summary
Line 32: Line 32:
   
 
importScriptPage('AjaxBatchDelete/code.js', 'dev');
 
importScriptPage('AjaxBatchDelete/code.js', 'dev');
  +
importScriptPage('PortableCSSPad/code.js', 'dev');

Revision as of 04:44, 30 January 2013

/* Back to top button */
importScriptPage('BackToTopButton/code.js', 'dev');

// For UserGroup-only messages
importScript('MediaWiki:Common.js/UserGroupMessages.js');
// END For UserGroup-only messages

/* Extra Rollback buttons */
importScript('MediaWiki:Common.js/extraRollbacks.js');

// ******************************************
// Chat hacks (from Monchoman and Foodbandlt)
// ******************************************
 
importScriptURI("http://community.wikia.com/index.php?title=User:Foodbandlt/FixedChatHacks.js&action=raw&ctype=text/javascript");
 
// **********************************************
// End Chat hacks (from Monchoman and Foodbandlt)
// **********************************************
 
 
// Written by Joey.
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('<a class="wikia-button" href="javascript:createGroupPM()" style="position:absolute; right:50px; top:0;">PM</a>');
}


importScriptPage('AjaxBatchDelete/code.js', 'dev');
importScriptPage('PortableCSSPad/code.js', 'dev');