MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
action=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" で始まります。例を参照してください。
- allcategories
- すべてのカテゴリを一覧表示します。
- alldeletedrevisions
- 利用者によって削除された、または名前空間内の削除されたすべての版を一覧表示する。
- allfileusages
- 存在しないものを含め、すべてのファイルの使用状況を一覧表示する。
- allimages
- 順次すべての画像を列挙します。
- alllinks
- 与えられた名前空間へのすべてのリンクを一覧表示します。
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- ある名前空間へのすべての転送を一覧表示する。
- allrevisions
- すべての版を一覧表示する。
- alltransclusions
- 存在しないものも含めて、すべての参照読み込み ({{x}} で埋め込まれたページ) を一覧表示します。
- backlinks
- 与えられたページにリンクしているすべてのページを検索します。
- categories
- ページが属するすべてのカテゴリを一覧表示します。
- categorymembers
- 与えられたカテゴリ内のすべてのページを一覧表示します。
- deletedrevisions
- Get deleted revision information.
- duplicatefiles
- List all files that are duplicates of the given files based on hash values.
- embeddedin
- Find all pages that embed (transclude) the given title.
- exturlusage
- 与えられたURLを含むページを一覧表示します。
- fileusage
- Find all pages that use the given files.
- images
- 与えられたページに含まれるすべてのファイルを返します。
- imageusage
- Find all pages that use the given image title.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- ページからのすべてのリンクを返します。
- linkshere
- Find all pages that link to the given pages.
- pageswithprop
- 与えられたページプロパティが使用されているすべてのページを一覧表示します。
- prefixsearch
- ページ名の先頭一致検索を行います。
- protectedtitles
- 作成保護が掛けられているページを一覧表示します。
- querypage
- Get a list provided by a QueryPage-based special page.
- random
- Get a set of random pages.
- recentchanges
- 最近の更新を一覧表示します。
- redirects
- ページへのすべての転送を返します。
- revisions
- Get revision information.
- search
- 全文検索を行います。
- templates
- 与えられたページでトランスクルードされているすべてのページを返します。
- transcludedin
- 与えられたページをトランスクルードしているすべてのページを検索します。
- watchlist
- 現在の利用者のウォッチリストにあるページへの最近の更新を取得します。
- watchlistraw
- 現在の利用者のウォッチリストにあるすべてのページを取得します。
- 値 (次の値のいずれか1つ): allcategories、alldeletedrevisions、allfileusages、allimages、alllinks、allpages、allredirects、allrevisions、alltransclusions、backlinks、categories、categorymembers、deletedrevisions、duplicatefiles、embeddedin、exturlusage、fileusage、images、imageusage、iwbacklinks、langbacklinks、links、linkshere、pageswithprop、prefixsearch、protectedtitles、querypage、random、recentchanges、redirects、revisions、search、templates、transcludedin、watchlist、watchlistraw
- 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 en、gan、iu、kk、ku、shi、sr、tg、uz および zh.
- Type: boolean (details)
- token
action=query&meta=tokens から取得した「csrf」トークン
- このパラメーターは必須です。
- Reset the notification status for the entire watchlist.
- api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC [サンドボックスで開く]
- Reset the notification status for Main page.
- api.php?action=setnotificationtimestamp&titles=Main_page&token=123ABC [サンドボックスで開く]
- Set the notification timestamp for Main page so all edits since 1 January 2012 are unviewed.
- api.php?action=setnotificationtimestamp&titles=Main_page×tamp=2012-01-01T00:00:00Z&token=123ABC [サンドボックスで開く]
- Reset the notification status for pages in the 利用者 namespace.
- api.php?action=setnotificationtimestamp&generator=allpages&gapnamespace=2&token=123ABC [サンドボックスで開く]