MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/API

action=setnotificationtimestamp

(main | setnotificationtimestamp)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールは書き込みの権限を必要とします。
  • このモジュールは POST リクエストのみを受け付けます。
  • Source: MediaWiki
  • License: GPL-2.0+

Update the notification timestamp for watched pages.

This affects the highlighting of changed pages in the watchlist and history, and the sending of email when the "ウォッチリストにあるページやファイルが更新されたら、メールを受け取る" preference is enabled.

パラメーター:
entirewatchlist

Work on all watched pages.

Type: boolean (details)
timestamp

Timestamp to which to set the notification timestamp.

Type: timestamp (allowed formats)
torevid

Revision to set the notification timestamp to (one page only).

Type: integer
newerthanrevid

Revision to set the notification timestamp newer than (one page only).

Type: integer
continue

When more results are available, use this to continue.

titles

対象のページ名のリスト。

複数の値は | もしくは代わりの文字で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
pageids

対象のページIDのリスト。

Type: list of integers
複数の値は | もしくは代わりの文字で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
revids

対象の版IDのリスト。

Type: list of integers
複数の値は | もしくは代わりの文字で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
generator

クエリモジュールを実行することにより対象のページの一覧を取得する。

注意 Generator パラメーターの名前は "g" で始まります。例を参照してください。

値 (次の値のいずれか1つ): allcategoriesalldeletedrevisionsallfileusagesallimagesalllinksallpagesallredirectsallrevisionsalltransclusionsbacklinkscategoriescategorymembersdeletedrevisionsduplicatefilesembeddedinexturlusagefileusageimagesimageusageiwbacklinkslangbacklinkslinkslinksheremessagecollectionpageswithpropprefixsearchprotectedtitlesquerypagerandomrecentchangesredirectsrevisionssearchtemplatestranscludedinwatchlistwatchlistraw
redirects

titles, pageids, および revids, および generator によって返されたページの転送を自動的に解決する。

Type: boolean (details)
converttitles

Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include gan、iu、kk、ku、shi、sr、tg、uz および zh.

Type: boolean (details)
token

action=query&meta=tokens から取得した「csrf」トークン

このパラメーターは必須です。