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

Change subject: Special:Notifications JS even when no local notifications
......................................................................


Special:Notifications JS even when no local notifications

Launch JS version of Special:Notifications even of the
user doesn't have any local notifications.

Bug: T139512
Change-Id: Ia01a57de307b0d7da6a7d81ec8ee32d02ccc1887
---
M includes/special/SpecialNotifications.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/includes/special/SpecialNotifications.php 
b/includes/special/SpecialNotifications.php
index a2365ba..8a9f676 100644
--- a/includes/special/SpecialNotifications.php
+++ b/includes/special/SpecialNotifications.php
@@ -39,7 +39,7 @@
                // If there are no notifications, display a message saying so
                if ( !$notifications ) {
                        $out->addWikiMsg( 'echo-none' );
-
+                       $out->addModules( array( 'ext.echo.special' ) );
                        return;
                }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia01a57de307b0d7da6a7d81ec8ee32d02ccc1887
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: Mooeypoo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to