Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/API
meta=notifications (not)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: Echo
- Licence: MIT
Get notifications waiting for the current user.
- notfilter
Filter notifications returned.
- Hodnoty (oddělené | nebo alternativou.): read, !read
- Implicitní hodnota: read|!read
- notprop
Details to request.
- Hodnoty (oddělené | nebo alternativou.): list, count, seenTime
- Implicitní hodnota: list
- notsections
The notification sections to query (i.e. some combination of 'alert' and 'message').
- Hodnoty (oddělené | nebo alternativou.): alert, message
- Implicitní hodnota: alert|message
- notgroupbysection
Whether to group the result by section. Each section is fetched separately if set.
- Typ: boolean (podrobnosti)
- notformat
If specified, notifications will be returned formatted this way.
- model
- Raw notification data
- special
- Formatted for Special:Notifications page (and only that!) Do not rely on the HTML as it may change at any given time.
- flyout
- Deprecated. Use notformat=model for raw data
- html
- Deprecated. Use notformat=model for raw data
- Jedna z následujících hodnot: model, special, flyout, html
- notlimit
The maximum number of notifications to return.
- Není dovoleno více než 50 (500 pro boty).
- Type: integer or max
- Implicitní hodnota: 20
- notcontinue
When more results are available, use this to continue.
- notunreadfirst
Whether to show unread notifications first (only used if groupbysection is not set).
- Typ: boolean (podrobnosti)
- nottitles
Only return notifications for these pages. To get notifications not associated with any page, use [] as a title.
- Hodnoty oddělujte pomocí | nebo alternativou. Maximální počet hodnot je 50 (pro boty 500).
- notbundle
Whether to show bundle compatible unread notifications according to notification types bundling rules.
- Typ: boolean (podrobnosti)
- notalertcontinue
When more alert results are available, use this to continue.
- notalertunreadfirst
Whether to show unread message notifications first (only used if groupbysection is set).
- Typ: boolean (podrobnosti)
- notmessagecontinue
When more message results are available, use this to continue.
- notmessageunreadfirst
Whether to show unread alert notifications first (only used if groupbysection is set).
- Typ: boolean (podrobnosti)
- List notifications
- api.php?action=query&meta=notifications [otevřít v pískovišti]
- List notifications, grouped by section, with counts
- api.php?action=query&meta=notifications¬prop=count¬sections=alert|message¬groupbysection=1 [otevřít v pískovišti]