Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/240298
Change subject: Remove duplicate 'MediaWiki' prefix from echo.unseen stats
......................................................................
Remove duplicate 'MediaWiki' prefix from echo.unseen stats
Caused metrics to be reported as 'MediaWiki.MediaWiki.echo.unseen'
Change-Id: Ie141b896d0574b081a362b06043d842c2a897df0
---
M Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/98/240298/1
diff --git a/Hooks.php b/Hooks.php
index 4ddff0e..4054c7d 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -727,7 +727,7 @@
if ( $hasUnseen ) {
// Record that the user is going to see an indicator
that they have unread notifications
- RequestContext::getMain()->getStats()->increment(
'MediaWiki.echo.unseen' );
+ RequestContext::getMain()->getStats()->increment(
'echo.unseen' );
}
// If the user has new messages, display a talk page alert
--
To view, visit https://gerrit.wikimedia.org/r/240298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie141b896d0574b081a362b06043d842c2a897df0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits