If you have "99+" showing, even after clicking "Mark all as read" a few times, and you want to clear absolutely all local notifications at that wiki...
Steps to reset (mark as read) all local notifications on a single wiki:
- Go to the local special:mypage/common.js -- (At the wiki you want to reset)
- Edit that page, to add this line at the bottom
-
new mw.Api().postWithToken('csrf', {action:'echomarkread', all:1});
-
- Save that.
- Open any regular page on that wiki, and watch the notifications badge-counter go to 0. -- (cross-wiki notifications will still exist)
- Important - Revert your edit at your common.js -- (otherwise it will autoclear everything before you see it, forever!)
Done!
There is a feature-request for making this short process into a single button, phab:T71732, but until that is completed, the manual instructions above will help a few people.