MediaWiki API ヘルプ

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

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

list=watchlistraw (wr)

(main | query | watchlistraw)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールはジェネレーターとして使用できます。
  • ソース: MediaWiki
  • ライセンス: GPL-2.0-or-later

現在の利用者のウォッチリストにあるすべてのページを取得します。

パラメーター:
wrcontinue

When more results are available, use this to continue.

wrnamespace

この名前空間に含まれるページのみを一覧表示します。

値 (|もしくは別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、460、461
すべての値を指定するには、*を用いてください。
wrlimit

How many total results to return per request.

型: 整数または max
The value must be between 1 and 500.
Default: 10
wrprop

追加で取得するプロパティ:

changed
Adds timestamp of when the user was last notified about the edit.
値 (|もしくは別の文字列で区切る): changed
wrshow

Only list items that meet these criteria.

値 (|もしくは別の文字列で区切る): !changed、changed
wrowner

Used along with wrtoken to access a different user's watchlist.

型: 利用者名を使った利用者
wrtoken

A security token (available in the user's preferences) to allow access to another user's watchlist.

wrdir

昇順・降順の別。

値 (次の値のいずれか1つ): ascending、descending
Default: ascending
wrfromtitle

Title (with namespace prefix) to begin enumerating from.

wrtotitle

Title (with namespace prefix) to stop enumerating at.

例:
List pages on the current user's watchlist.
api.php?action=query&list=watchlistraw [サンドボックスで開く]
現在の利用者のウォッチリスト上のページに関する情報を取得する。
api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=info [サンドボックスで開く]