Remove <div id="mw-js-message">
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 31 May 2014 17:53:11 +0000 (19:53 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 10 Jun 2014 21:42:49 +0000 (23:42 +0200)
This is a remnant of the mw.util.jsMessage() utility, replaced by
mw.notify() several versions ago.

Change-Id: Ifd2765581f06dcc2ca057bc30b27b336df2d066b

skins/vector/Vector.php
tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js

index 9544d55..650a52b 100644 (file)
@@ -162,7 +162,6 @@ class VectorTemplate extends BaseTemplate {
                <div id="content" class="mw-body" role="main">
                        <a id="top"></a>
 
-                       <div id="mw-js-message" style="display:none;"<?php $this->html( 'userlangattributes' ) ?>></div>
                        <?php
                        if ( $this->data['sitenotice'] ) {
                                ?>
index 1526679..4401ead 100644 (file)
                var a = mw.util.jsMessage( 'MediaWiki is <b>Awesome</b>.' );
                this.restoreWarnings();
                assert.ok( a, 'Basic checking of return value' );
-
-               // Clean up
-               $( '#mw-js-message' ).remove();
        } );
 
        QUnit.test( 'validateEmail', 6, function ( assert ) {