VectorTemplate: Restore 'id' for siteNotice wrapper

Follows-up bc47b4f.

Change-Id: I4220077679ac6d33650ed82a59696f22f1715485
This commit is contained in:
Timo Tijhof 2017-11-13 21:19:14 -08:00
parent 94f8a55767
commit 6e8a52a8d2
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,10 @@ class VectorTemplate extends BaseTemplate {
<?php
if ( $this->data['sitenotice'] ) {
echo Html::rawElement( 'div',
[ 'class' => 'mw-body-content' ],
[
'id' => 'siteNotice',
'class' => 'mw-body-content',
],
// Raw HTML
$this->get( 'sitenotice' )
);