From: Matěj Suchánek Date: Tue, 2 Apr 2019 20:06:34 +0000 (+0200) Subject: Style change tags correctly on log extracts X-Git-Tag: 1.34.0-rc.0~2191^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=7cbdc978712374b8f30556447b3db5208dce03ef;p=lhc%2Fweb%2Fwiklou.git 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 --- 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() );