MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=echomarkseen
(main | echomarkseen)
- This module requires read rights.
- Source: Echo
- License: MIT
Mark notifications as seen for the current user.
Parameters:
- type
Type of notifications to mark as seen: 'alert', 'message' or 'all'.
- This parameter is required.
- One of the following values: alert, all, message
- timestampFormat
Timestamp format to use for output, 'ISO_8601' or 'MW'. 'MW' is deprecated here, so all clients should switch to 'ISO_8601'. This parameter will be removed, and 'ISO_8601' will become the only output format.
- One of the following values: ISO_8601, MW
- Default: MW
Example:
- Mark notifications of all types as seen
- api.php?action=echomarkseen&type=all [open in sandbox]