mediawiki-extensions-Echo/includes/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
..
ApiCrossWiki.php Add strict "array" type hints to code expecting arrays 2019-10-24 15:18:58 +00:00
ApiEchoArticleReminder.php Use Special:MyLanguage in API help links 2019-08-27 06:14:51 +00:00
ApiEchoMarkRead.php Use Special:MyLanguage in API help links 2019-08-27 06:14:51 +00:00
ApiEchoMarkSeen.php Use GET rather than POST for action=markseen 2020-01-10 16:12:18 -08:00
ApiEchoNotifications.php build: Updating mediawiki/mediawiki-phan-config to 0.9.0 2019-12-29 11:59:32 +00:00
ApiEchoUnreadNotificationPages.php build: Updating mediawiki/mediawiki-phan-config to 0.9.0 2019-12-29 11:59:32 +00:00