User:Tierrie/Chat/AutoLoad.js

// import the scripts and stylesheets from community repo importScriptPage('User:Tierrie/Chat/Chat.js', 'c'); importScriptPage('User:Tierrie/Chat/Options.js', 'c'); importStylesheetPage('MediaWiki:Chat.css', 'c');

// import local versions of the scripts and stylesheets importScript('User:'+wgUserName+'/Chat.js'); importStylesheet('MediaWiki:Chat.css'); importStylesheet('User:'+wgUserName+'/Chat.css'); var onNewMessage = [];