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=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.
Specific parameters:
Other general parameters are available.
- wikis
List of wikis to mark notification as read (defaults to only current wiki).
- Values (separate with | or alternative): *, 1pxlwiki, 40kexwiki, 22021819025544060807888999wiki, aarnwiki, accountsinternalwiki, agroportalwiki, alphatestwiki, astralogicalwiki, avidwiki, backendwiki, beaconspacewiki, betatestwiki, boardinternalwiki, burnapediawiki, cabinbythelakewiki, churchof0daywiki, cryowikiwiki, darkangelwiki, directorwiki, discordaccountsupportcorporationwiki, dpl3wiki, empirewiki, everythingleadwiki, fatfirewiki, filthytoolcollectorwiki, fishonmcwiki, frostbladewiki, georgefoxaiwikiwiki, ghostmachinewiki, greatamericawiki, harrypotterwiki, hercomztomiswiki, holostarstranslationswiki, homeschoolingwiki, howtodoitinwiki, ihidwiki, infiniteworldswiki, kingkillerwiki, kolkowitzlabwiki, lamiascoilswiki, lifemasterywiki, medicyclonecentrewiki, nintendowiki, notitgwiki, nyancirno196wiki, oceanmappingwiki, oklahomalawwiki, periloustimeswiki, pultepathwayswiki, ragnaroketernallovewiki, rothwellwiki, schoolnoteswiki, shieldmaidenswiki, shitterginiawiki, sittingbournechristmaslightswiki, spacefactfilewiki, statbidwiki, structurewiki, tapsandpatiencewiki, techwiki, test1wiki, test5wiki, test6wiki, test7wiki, test142wiki, testcreate1wiki, testcreate2wiki, testcreate3wiki, thesevenpillarswiki, tlcwiki, tofpwiki, valiantcinematicuniversewiki, vivipediawiki, whatdotheylooklikewiki, whiteworldversewiki, wikifortestswiki, wildbowliterarycanonwiki, wmsrtestwiki, yankunworldwiki
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- Default: harrypotterwiki
- list
A list of notification IDs to mark as read.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- unreadlist
A list of notification IDs to mark as unread.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- 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 | or alternative): 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 [open in sandbox]
- Mark all notifications as read
- api.php?action=echomarkread&all=true [open in sandbox]
- Mark notification 1 as unread
- api.php?action=echomarkread&unreadlist=1 [open in sandbox]