API:ClearHasMsg

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:ClearHasMsg and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎български • ‎русский • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

ClearHasMsg

This action will remove the HasMsg flag, which causes the "You have new messages" banner to appear and returns true in HasMsg query. It can be used by applications that retrieve the talk page using the API, which unlike opening your talk page in a browser, doesn't automatically remove this flag.

Когато вие започнете това действие, знамето "имате нови съобщения" няма да се покаже докато не получите повече съобщения от други членове.

Този модул трябва бъде POSTed от 1.29.0-wmf.5.[1]



action=clearhasmsg

(main | clearhasmsg)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Clears the hasmsg flag for the current user.

Example:
Clear the hasmsg flag for the current user.
api.php?action=clearhasmsg [open in sandbox]