MediaWiki:Chat-sidebar

// Chat-sidebar $(function {    if ( mw.config.get( 'wgCanonicalSpecialPageName' ) == 'Chat' ) {        $( '#ChatHeader' ).css( 'margin-left', '259px' );        $( '#WikiaPage' ).css( 'margin-left', '250px' );        $( 'body' ).append( ' Hi ' );        mw.util.addCSS( '#ChatSidebar{border:' + $( '#ChatHeader' ).css( 'border' ) + ';position:absolute;top:10px;left:6px;height:97%;width:228px;background:' + $( '#ChatHeader' ).css( 'background' ) + ';border-radius:6px;overflow:auto;padding:10px;}' );       $.get( '/api.php?action=parse&format=json&text=', function ( data ) { $( '#ChatSidebar' ).append( data['parse']['text']['*'] ); } );   } } );