jenkins-bot has submitted this change and it was merged.

Change subject: Regression: Fix styling on Special:Notifications
......................................................................


Regression: Fix styling on Special:Notifications

addModuleStyles ignores JavaScript in module.

Change-Id: I6c20a6ff05fbd52d30dea7d7633fb6f4b36b377b
---
M special/SpecialNotifications.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Bsitu: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/special/SpecialNotifications.php b/special/SpecialNotifications.php
index 1f7f69f..2145453 100644
--- a/special/SpecialNotifications.php
+++ b/special/SpecialNotifications.php
@@ -125,7 +125,7 @@
                );
                // For no-js support
                global $wgExtensionAssetsPath;
-               $out->addExtensionStyle( 
"$wgExtensionAssetsPath/Echo/modules/base/ext.echo.base.css" );
+               $out->addModuleStyles( "ext.echo.base" );
                // Mark items as read
                if ( $unread ) {
                        MWEchoNotifUser::newFromUser( $user )->markRead( 
$unread );

-- 
To view, visit https://gerrit.wikimedia.org/r/151987
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c20a6ff05fbd52d30dea7d7633fb6f4b36b377b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to