MediaWiki API ヘルプ

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

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

list=watchlist (wl)

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

現在の利用者のウォッチリストにあるページへの最近の更新を取得します。

パラメーター:
wlallrev

Include multiple revisions of the same page within given timeframe.

型: 真偽値 (詳細)
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、460、461
すべての値を指定するには、*を用いてください。
wluser

この利用者による変更のみを一覧表示する。

型: 利用者名、IP、インターウィキの名前(例: "prefix>ExampleName") および 利用者ID(例: #12345)のいずれかを使った利用者
wlexcludeuser

この利用者による変更を一覧表示しない。

型: 利用者名、IP、インターウィキの名前(例: "prefix>ExampleName") および 利用者ID(例: #12345)のいずれかを使った利用者
wldir

列挙の方向:

newer
古いものを先に表示します。注意: wlstart は wlend 以前でなければなりません。
older
新しいものを先に表示します (既定)。注意: wlstart は wlend 以降でなければなりません。
値 (次の値のいずれか1つ): newer、older
Default: older
wllimit

How many total results to return per request.

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

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

ids
版IDとページIDを追加します。
title
ページ名を追加します。
flags
編集のフラグを追加します。
user
Adds the user who made the edit. If the user has been revision deleted, a userhidden property will be returned.
userid
Adds user ID of whoever made the edit. If the user has been revision deleted, a userhidden property will be returned.
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.
値 (|もしくは別の文字列で区切る): comment、flags、ids、loginfo、notificationtimestamp、parsedcomment、patrol、sizes、tags、timestamp、title、user、userid
Default: 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.

値 (|もしくは別の文字列で区切る): !anon、!autopatrolled、!bot、!minor、!patrolled、!unread、anon、autopatrolled、bot、minor、patrolled、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.
値 (|もしくは別の文字列で区切る): categorize、edit、external、log、new
Default: edit|new|log|categorize
wlowner

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

型: 利用者名を使った利用者
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 [サンドボックスで開く]