MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=echomarkread

(main | echomarkread)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Echo
  • License: MIT

Mark notifications as read for the current user.

Parameters:
list

A list of notification IDs to mark as read.

Separate values with |. Maximum number of values is 50 (500 for bots).
all

If set, marks all of a user's notifications as read.

Type: boolean (details)
sections

A list of sections to mark as read.

Values (separate with |): alert, message
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Examples:
Mark notification 8 as read
api.php?action=echomarkread&list=8
Mark all notifications as read
api.php?action=echomarkread&all=true