Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

meta=notifications (not)

(main | query | notifications)
  • Ten moduł wymaga praw odczytu.
  • Źródło: Echo
  • Licencja: MIT

Get notifications waiting for the current user.

Parametry:
notfilter

Filtruj zwrócone powiadomienia.

Wartości (oddziel za pomocą | lub alternatywy): read, !read
Domyślnie: read|!read
notprop

Szczegóły żądania.

Wartości (oddziel za pomocą | lub alternatywy): list, count, seenTime
Domyślnie: list
notsections

Sekcje powiadomień, o które zapytać (tj. jakieś połączenie 'alert' i 'message').

Wartości (oddziel za pomocą | lub alternatywy): alert, message
Domyślnie: alert|message
notgroupbysection

Czy grupować wynik według sekcji. Każda sekcja jest pobierana osobno jeśli ustawiono.

Typ: wartość logiczna (szczegóły)
notformat

Jeśli określono, powiadomienia zostaną zwrócone sformatowane w taki sposób.

model
Surowe dane powiadomienia
special
Sformatowane dla strony Specjalna:Powiadomienia (i tylko tej!). Nie polegaj na HTML, jako że może zmienić się w dowolnym czasie.
flyout
Zdeprecjonowane. Użyj notformat=model dla surowych danych
html
Zdeprecjonowane. Użyj notformat=model dla surowych danych
Jedna z następujących wartości: model, special, flyout, html
notlimit

Maksymalna liczba zwracanych powiadomień.

Nie więcej niż 50 (500 dla botów) dozwolone.
Type: integer or max
Domyślnie: 20
notcontinue

Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.

notunreadfirst

Whether to show unread notifications first (only used if groupbysection is not set).

Typ: wartość logiczna (szczegóły)
nottitles

Only return notifications for these pages. To get notifications not associated with any page, use [] as a title.

Oddziel wartości za pomocą | lub alternatywy. Maksymalna liczba wartości to 50 (500 dla botów).
notbundle

Whether to show bundle compatible unread notifications according to notification types bundling rules.

Typ: wartość logiczna (szczegóły)
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: wartość logiczna (szczegóły)
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: wartość logiczna (szczegóły)