diff options
author | DannyS712 <DannyS712.enwiki@gmail.com> | 2020-05-23 08:43:34 +0000 |
---|---|---|
committer | DannyS712 <DannyS712.enwiki@gmail.com> | 2020-06-02 23:22:02 +0000 |
commit | c243c1b06eb4aeee0928b85df4d896d3b374879f (patch) | |
tree | af69897b9085d706ee2d6ea216a5b55052bc8e21 /resources/lib/ooui/oojs-ui-widgets.js | |
parent | 84390e9887d35d4d2559ab96688611c6a01d496b (diff) | |
download | mediawikicore-c243c1b06eb4aeee0928b85df4d896d3b374879f.tar.gz mediawikicore-c243c1b06eb4aeee0928b85df4d896d3b374879f.zip |
Add new WatchlistNotificationManager service
Replaces watchlist notification methods in Title and User classes:
* Title::getNotificationTimestamp -> ::getTitleNotificationTimestamp
* User::clearNotification -> ::clearTitleUserNotifications
* User::clearAllNotifications -> ::clearAllUserNotifications
New service has 67.90% code coverage with pure Unit tests; as well
as integration tests for the DeferredUpdates part
A follow-up patch will deprecate the replaced methods, as well
as document that the `UserClearNewTalkNotification` hook now only
provides a UserIdentity (typehint added in T253435 but until now
a full User was still provided).
Bug: T208777
Change-Id: I6f388c04cb9dc65b20ff028ece607c3dc131dfc5
Diffstat (limited to 'resources/lib/ooui/oojs-ui-widgets.js')
0 files changed, 0 insertions, 0 deletions