From 7cbdc978712374b8f30556447b3db5208dce03ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Tue, 2 Apr 2019 22:06:34 +0200 Subject: [PATCH] Style change tags correctly on log extracts You can see them when you view a previously deleted page and some of those events have been tagged. Bug: T212613 Change-Id: I88e637a0ee688dd23c0ec90790e8189ecf1a8789 --- includes/logging/LogEventsList.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/logging/LogEventsList.php b/includes/logging/LogEventsList.php index c66aa59cc0..3fd52af01b 100644 --- a/includes/logging/LogEventsList.php +++ b/includes/logging/LogEventsList.php @@ -692,6 +692,8 @@ class LogEventsList extends ContextSource { $s .= $loglist->beginLogEventsList() . $logBody . $loglist->endLogEventsList(); + // add styles for change tags + $context->getOutput()->addModuleStyles( 'mediawiki.interface.helpers.styles' ); } elseif ( $showIfEmpty ) { $s = Html::rawElement( 'div', [ 'class' => 'mw-warning-logempty' ], $context->msg( 'logempty' )->parse() ); -- 2.20.1