From 490b5ef73711313bd2969aa6b80ee369dee8efc9 Mon Sep 17 00:00:00 2001 From: Bsitu Date: Tue, 2 Jul 2013 22:08:06 +0000 Subject: [PATCH] Revert "Render dates as headings" This reverts commit c2bb2a8fb458456a322716e82d5ed20c9451d5a0. Change-Id: I1f6f71c0e7b397c3adf1629b78d52154cfbdfc20 --- special/SpecialNotifications.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/special/SpecialNotifications.php b/special/SpecialNotifications.php index 1d19e4cb3..5b48eea89 100644 --- a/special/SpecialNotifications.php +++ b/special/SpecialNotifications.php @@ -56,9 +56,7 @@ class SpecialNotifications extends SpecialPage { // Output the date header if it has not been displayed if ( $dateHeader !== $row['timestamp']['date'] ) { $dateHeader = $row['timestamp']['date']; - $notices .= Html::openElement( 'li' ); - $notices .= Html::element( 'h2', array( 'class' => 'mw-echo-date-section' ), $dateHeader ); - $notices .= Html::closeElement( 'li' ); + $notices .= Html::rawElement( 'li', array( 'class' => 'mw-echo-date-section' ), $dateHeader ); } $class = 'mw-echo-notification';