This is a remnant of the mw.util.jsMessage() utility, replaced by
mw.notify() several versions ago.
Change-Id: Ifd2765581f06dcc2ca057bc30b27b336df2d066b
<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'] ) {
?>
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 ) {