mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-02 19:36:48 +00:00
b2f816d0af
This seems strange, because markseen sounds like a write action, but it writes to the seentime cache rather than the database. For multi-DC support, we need writes to the seentime cache to happen in the local data center, and the easiest way to do that is to make it a GET request rather than a POST request. It would be nice if marking as seen could be consolidated into the GET request for fetching notifications, but I didn't do that because the code for those fetches is pretty complicated, and some fetches (like polling) should not mark as seen. Bug: T222851 Change-Id: If4c504a9dc562b1d4e626e155fba8ebb5cdb0579 |
||
---|---|---|
.. | ||
mw.echo.api.APIHandler.js | ||
mw.echo.api.EchoApi.js | ||
mw.echo.api.ForeignAPIHandler.js | ||
mw.echo.api.js | ||
mw.echo.api.LocalAPIHandler.js | ||
mw.echo.api.NetworkHandler.js | ||
mw.echo.api.PromisePrioritizer.js |