MediaWiki:Chat.js/load.js

/** * Loader for chat CSS and Js * * Hopefully this will eventually be replaced by  */

var conf = mw.config.get( [       'wgUserName'    ] );
 * ( function ( window, mw ) {

importStylesheetURI( '/load.php?debug=true&lang=en&mode=articles&skin=oasis&articles=MediaWiki:Chat.css|User:' +       conf.wgUserName + '/chat.css|u:c:User:' + conf.wgUserName + '/chat-global.css&only=styles' ); importScriptURI( '/load.php?debug=true&lang=en&mode=articles&skin=oasis&articles=MediaWiki:Chat.js|User:' +       conf.wgUserName + '/chat.js|u:c:User:' + conf.wgUserName + '/chat-global.js&only=scripts' );

window.onNewMessage = []; window.onStatusMessage = []; }( this, this.mediaWiki ) );