MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=echomarkseen

(main | echomarkseen)
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: Echo
  • Licenza: MIT

Mark notifications as seen for the current user.

Parametri:
token

Un token "csrf" recuperato da action=query&meta=tokens

Questo parametro è obbligatorio.
type

Tipo di notifiche da contrassegnare come viste: 'alert', 'message' or 'all'.

Questo parametro è obbligatorio.
Uno dei seguenti valori: alert, message, all
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.

Uno dei seguenti valori: ISO_8601, MW
Predefinito: MW
Esempio:
Contrassegna le notifiche di tutti i tipi come viste
api.php?action=echomarkseen&type=all [apri in una sandbox]