MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
list=watchlist (wl)
- このモジュールは読み取りの権限を必要とします。
 - このモジュールはジェネレーターとして使用できます。
 - ソース: MediaWiki
 - ライセンス: GPL-2.0-or-later
 
現在の利用者のウォッチリストにあるページへの最近の更新を取得します。
パラメーター:
- wlallrev
 Include multiple revisions of the same page within given timeframe.
- Type: boolean (details)
 - wlstart
 列挙の始点となるタイムスタンプ。
- Type: timestamp (allowed formats)
 - wlend
 列挙の終点となるタイムスタンプ。
- Type: timestamp (allowed formats)
 - wlnamespace
 この名前空間の変更のみに絞り込む。
- 値 (|もしくは別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、828、829
 - To specify all values, use *.
 - wluser
 この利用者による変更のみを一覧表示する。
- Type: user name
 - wlexcludeuser
 この利用者による変更を一覧表示しない。
- Type: user name
 - wldir
 列挙の方向:
- newer
 - 古いものを先に表示します。注意: wlstart は wlend 以前でなければなりません。
 - older
 - 新しいものを先に表示します (既定)。注意: wlstart は wlend 以降でなければなりません。
 
- 値 (次の値のいずれか1つ): newer、older
 - 既定値: older
 - wllimit
 How many total results to return per request.
- 500(botは5,000)より多くは受け付けません。
 - Type: integer or max
 - 既定値: 10
 - wlprop
 追加で取得するプロパティ:
- ids
 - 版IDとページIDを追加します。
 - title
 - ページ名を追加します。
 - flags
 - 編集のフラグを追加します。
 - user
 - Adds the user who made the edit.
 - userid
 - Adds user ID of whoever made the edit.
 - comment
 - 編集のコメントを追加します。
 - parsedcomment
 - 編集の構文解析されたコメントを追加します。
 - timestamp
 - 編集のタイムスタンプを追加します。
 - patrol
 - Tags edits that are patrolled.
 - sizes
 - Adds the old and new lengths of the page.
 - notificationtimestamp
 - Adds timestamp of when the user was last notified about the edit.
 - loginfo
 - 適切な場合にログ情報を追加します。
 - tags
 - Lists tags for the entry.
 
- 値 (|もしくは別の文字列で区切る): ids、title、flags、user、userid、comment、parsedcomment、timestamp、patrol、sizes、notificationtimestamp、loginfo、tags
 - 既定値: ids|title|flags
 - wlshow
 Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.
- 値 (|もしくは別の文字列で区切る): minor、!minor、bot、!bot、anon、!anon、patrolled、!patrolled、autopatrolled、!autopatrolled、unread、!unread
 - wltype
 Which types of changes to show:
- edit
 - Regular page edits.
 - new
 - Page creations.
 - log
 - Log entries.
 - external
 - External changes.
 - categorize
 - Category membership changes.
 
- 値 (|もしくは別の文字列で区切る): edit、new、log、external、categorize
 - 既定値: edit|new|log|categorize
 - wlowner
 Used along with wltoken to access a different user's watchlist.
- Type: user name
 - wltoken
 A security token (available in the user's preferences) to allow access to another user's watchlist.
- wlcontinue
 When more results are available, use this to continue.
例:
- 現在の利用者のウォッチリストにある最近変更されたページの最新版を一覧表示します。
 - api.php?action=query&list=watchlist [サンドボックスで開く]
 - Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
 - api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [サンドボックスで開く]
 - Fetch information about all recent changes to pages on the current user's watchlist.
 - api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [サンドボックスで開く]
 - 現在の利用者のウォッチリスト上の最近更新されたページに関する情報を取得する。
 - api.php?action=query&generator=watchlist&prop=info [サンドボックスで開く]
 - Fetch revision info for recent changes to pages on the current user's watchlist.
 - api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [サンドボックスで開く]
 - List the top revision for recently changed pages on the watchlist of user Example.
 - api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [サンドボックスで開く]