Mooeypoo has uploaded a new change for review.
https://gerrit.wikimedia.org/r/243021
Change subject: Add a comment to counting unread page notifications
......................................................................
Add a comment to counting unread page notifications
Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
---
M modules/viewmodel/mw.echo.dm.NotificationsModel.js
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/21/243021/1
diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js
b/modules/viewmodel/mw.echo.dm.NotificationsModel.js
index f51bc73..229df79 100644
--- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js
+++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js
@@ -133,6 +133,11 @@
}
};
+ /**
+ * Count the unread messages that originate from the user talk page.
+ *
+ * @return {number} Number of unread talk page messages
+ */
mw.echo.dm.NotificationsModel.prototype.countUnreadTalkPageNotifications =
function () {
var i, len,
talk = 0,
--
To view, visit https://gerrit.wikimedia.org/r/243021
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits