Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/151987

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/87/151987/1

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: newchange
Gerrit-Change-Id: I6c20a6ff05fbd52d30dea7d7633fb6f4b36b377b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to