mediawiki-extensions-Echo/modules/api
Roan Kattouw b2f816d0af Use GET rather than POST for action=markseen
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
2020-01-10 16:12:18 -08:00
..
mw.echo.api.APIHandler.js Stop exporting wgWikiId, use wgWikiID from core 2019-09-25 18:14:40 +00:00
mw.echo.api.EchoApi.js Update eslint-config-wikimedia to 0.9.0 2018-11-27 22:48:32 +00:00
mw.echo.api.ForeignAPIHandler.js Remove obsolete aliases from closures 2018-11-12 13:56:38 +00:00
mw.echo.api.js Remove obsolete aliases from closures 2018-11-12 13:56:38 +00:00
mw.echo.api.LocalAPIHandler.js Use GET rather than POST for action=markseen 2020-01-10 16:12:18 -08:00
mw.echo.api.NetworkHandler.js Remove obsolete aliases from closures 2018-11-12 13:56:38 +00:00
mw.echo.api.PromisePrioritizer.js Remove obsolete aliases from closures 2018-11-12 13:56:38 +00:00