MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
list=recentchanges (rc)
- このモジュールは読み取りの権限を必要とします。
 - このモジュールはジェネレーターとして使用できます。
 - ソース: MediaWiki
 - ライセンス: GPL-2.0-or-later
 
最近の更新を一覧表示します。
パラメーター:
- rcstart
 列挙の始点となるタイムスタンプ。
- Type: timestamp (allowed formats)
 - rcend
 列挙の終点となるタイムスタンプ。
- Type: timestamp (allowed formats)
 - rcdir
 列挙の方向:
- newer
 - 古いものを先に表示します。注意: rcstart は rcend 以前でなければなりません。
 - older
 - 新しいものを先に表示します (既定)。注意: rcstart は rcend 以降でなければなりません。
 
- 値 (次の値のいずれか1つ): newer、older
 - 既定値: older
 - rcnamespace
 この名前空間の変更のみに絞り込む。
- 値 (|もしくは別の文字列で区切る): -2、-1、0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15
 - To specify all values, use *.
 - rcuser
 この利用者による変更のみを一覧表示する。
- Type: user name
 - rcexcludeuser
 この利用者による変更を一覧表示しない。
- Type: user name
 - rctag
 このタグが付与された版のみ一覧表示する。
- rcprop
 Include additional pieces of information:
- user
 - Adds the user responsible for the edit and tags if they are an IP.
 - userid
 - Adds the user ID responsible for the edit.
 - comment
 - Adds the comment for the edit.
 - parsedcomment
 - 構文解析された編集コメントを追加します。
 - flags
 - 編集のフラグを追加します。
 - timestamp
 - 編集のタイムスタンプを追加します。
 - title
 - 編集のページ名を追加します。
 - ids
 - ページID、最近の更新IDと新旧の版IDを追加します。
 - sizes
 - バイト単位の新旧のページの長さを追加します。
 - redirect
 - 編集されたページが転送ページである場合、印を付けます。
 - patrolled
 - 巡回可能な編集について、巡回済みかどうか印を付けます。
 - loginfo
 - 記録項目に記録の情報 (記録ID, 記録タイプなど) を追加します。
 - tags
 - エントリのタグを一覧表示します。
 - sha1
 - Adds the content checksum for entries associated with a revision.
 
- 値 (|もしくは別の文字列で区切る): user、userid、comment、parsedcomment、flags、timestamp、title、ids、sizes、redirect、patrolled、loginfo、tags、sha1
 - 既定値: title|timestamp|ids
 - rctoken
 - 廃止予定です。
 代わりに action=query&meta=tokens を使用してください。
- 値 (|もしくは別の文字列で区切る): patrol
 - rcshow
 Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon.
- 値 (|もしくは別の文字列で区切る): minor、!minor、bot、!bot、anon、!anon、redirect、!redirect、patrolled、!patrolled、unpatrolled、autopatrolled、!autopatrolled
 - rclimit
 返す変更の総数。
- 500(botは5,000)より多くは受け付けません。
 - Type: integer or max
 - 既定値: 10
 - rctype
 Which types of changes to show.
- 値 (|もしくは別の文字列で区切る): edit、new、log、external、categorize
 - 既定値: edit|new|log|categorize
 - rctoponly
 最新の版である変更のみを一覧表示する。
- Type: boolean (details)
 - rctitle
 Filter entries to those related to a page.
- rccontinue
 When more results are available, use this to continue.
- rcgeneraterevisions
 ジェネレータとして使用される場合、版IDではなくページ名を生成します。関連する版IDのない最近の変更の項目 (例えば、ほとんどの記録項目) は何も生成しません。
- Type: boolean (details)
 
例:
- 最近の更新を一覧表示する。
 - api.php?action=query&list=recentchanges [サンドボックスで開く]
 - Get page info about recent unpatrolled changes.
 - api.php?action=query&generator=recentchanges&grcshow=!patrolled&prop=info [サンドボックスで開く]