From 6e8a52a8d239c4d3fe41e42cabf21487241313d4 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 13 Nov 2017 21:19:14 -0800 Subject: [PATCH] VectorTemplate: Restore 'id' for siteNotice wrapper Follows-up bc47b4f. Change-Id: I4220077679ac6d33650ed82a59696f22f1715485 --- VectorTemplate.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VectorTemplate.php b/VectorTemplate.php index 110d902..5c15503 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -62,7 +62,10 @@ class VectorTemplate extends BaseTemplate { data['sitenotice'] ) { echo Html::rawElement( 'div', - [ 'class' => 'mw-body-content' ], + [ + 'id' => 'siteNotice', + 'class' => 'mw-body-content', + ], // Raw HTML $this->get( 'sitenotice' ) );