MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=notifications (not)
- This module requires read rights.
- Source: Echo
- License: MIT
Get notifications waiting for the current user.
- notprop
Details to request.
- Values (separate with |): list, count, index
- Default: list
- notsections
The notification sections to query (i.e. some combination of 'alert' and 'message').
- Values (separate with |): alert, message
- Default: alert|message
- notgroupbysection
Whether to group the result by section. Each section is fetched separately if set.
- Type: boolean (details)
- notformat
If specified, notifications will be returned formatted this way.
- One of the following values: text, flyout, html
- notlimit
The maximum number of notifications to return.
- No more than 50 (500 for bots) allowed.
- Type: integer or max
- Default: 20
- notindex
If specified, a list of notification IDs, in order, will be returned.
- Type: boolean (details)
- notcontinue
When more results are available, use this to continue.
- notalertcontinue
When more alert results are available, use this to continue.
- notalertunreadfirst
Whether to show unread message notifications first.
- Type: boolean (details)
- notmessagecontinue
When more message results are available, use this to continue.
- notmessageunreadfirst
Whether to show unread alert notifications first.
- Type: boolean (details)
- List notifications
- api.php?action=query&meta=notifications
- List notifications, grouped by section, with counts
- api.php?action=query&meta=notifications¬prop=count¬sections=alert|message¬groupbysection=1