MediaWiki API ヘルプ

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

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

list=recentchanges (rc)

(main | query | recentchanges)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールはジェネレーターとして使用できます。
  • ソース: 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
Default: older
rcnamespace

この名前空間の変更のみに絞り込む。

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

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

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

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

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

このタグが付与された版のみ一覧表示する。

rcprop

Include additional pieces of information:

user
Adds the user responsible for the edit and tags if they are an IP. If the user has been revision deleted, a userhidden property will be returned.
userid
Adds the user ID responsible for the edit. If the user has been revision deleted, a userhidden property will be returned.
comment
Adds the comment for the edit. If the comment has been revision deleted, a commenthidden property will be returned.
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. If the content has been revision deleted, a sha1hidden property will be returned.
値 (|もしくは別の文字列で区切る): comment、flags、ids、loginfo、parsedcomment、patrolled、redirect、sha1、sizes、tags、timestamp、title、user、userid
Default: 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.

値 (|もしくは別の文字列で区切る): !anon、!autopatrolled、!bot、!minor、!patrolled、!redirect、anon、autopatrolled、bot、minor、patrolled、redirect、unpatrolled
rclimit

返す変更の総数。

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

Which types of changes to show.

値 (|もしくは別の文字列で区切る): categorize、edit、external、log、new
Default: edit|new|log|categorize
rctoponly

最新の版である変更のみを一覧表示する。

型: 真偽値 (詳細)
rctitle

Filter entries to those related to a page.

rccontinue

When more results are available, use this to continue.

rcgeneraterevisions

ジェネレータとして使用される場合、版IDではなくページ名を生成します。関連する版IDのない最近の変更の項目 (例えば、ほとんどの記録項目) は何も生成しません。

型: 真偽値 (詳細)
rcslot

Only list changes that touch the named slot.

値 (次の値のいずれか1つ): main