Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/61791
Change subject: Making sure IP users get orange bar notificaitons
......................................................................
Making sure IP users get orange bar notificaitons
Change-Id: Iec38c8458fad43997239ef8aea87b1166a481bb7
---
M Hooks.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/91/61791/1
diff --git a/Hooks.php b/Hooks.php
index 5646e75..33a3f02 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -665,7 +665,8 @@
global $wgEchoNotifications;
// If the user has the notifications flyout turned on and is
receiving
// notifications for talk page messages, disable the
orange-bar-style notice.
- if ( $recipient->getOption( 'echo-notify-show-link' )
+ if ( $recipient->isLoggedIn()
+ && $recipient->getOption( 'echo-notify-show-link' )
&& isset( $wgEchoNotifications['edit-user-talk'] )
) {
// hide orange bar
--
To view, visit https://gerrit.wikimedia.org/r/61791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec38c8458fad43997239ef8aea87b1166a481bb7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits