MediaWiki API ヘルプ

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

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

prop=deletedrevisions (drv)

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

削除された版の情報を取得します。

May be used in several ways:

  1. Get deleted revisions for a set of pages, by setting titles or pageids. Ordered by title and timestamp.
  2. Get data about a set of deleted revisions by setting their IDs with revids. Ordered by revision ID.
パラメーター:
その他一般パラメーターが利用可能です。
drvprop

Which properties to get for each revision:

ids
版のID。
flags
Revision flags (minor).
timestamp
版のタイムスタンプ。
user
その版を作成した利用者。その利用者が版指定削除されていた場合、 userhidden プロパティが返されます。
userid
その版の作成者の利用者ID。その利用者が版指定削除されていた場合、 userhidden プロパティが返されます。
size
その版の長さ (バイト) 。
slotsize
Length (bytes) of each revision slot.
sha1
SHA-1 (base 16) of the revision. If the content has been revision deleted, a sha1hidden property will be returned.
slotsha1
SHA-1 (base 16) of each revision slot. If the content has been revision deleted, a sha1hidden property will be returned.
contentmodel
Content model ID of each revision slot.
comment
その版の利用者によるコメント。コメントが版指定削除されている場合、commenthiddenプロパティを返します。
parsedcomment
その版の利用者による、構文解析されたコメント。コメントが版指定削除されている場合、commenthiddenプロパティを返します。
content
各版スロットの内容。コンテンツが版削除された場合には、プロパティ texthidden を返します。
tags
その版のタグ。
roles
List content slot roles that exist in the revision.
parsetree
廃止予定です。 Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
値 (| または別の文字列で区切る): comment、content、contentmodel、flags、ids、parsedcomment、roles、sha1、size、slotsha1、slotsize、tags、timestamp、user、userid、parsetree
既定: ids|timestamp|flags|comment|user
drvslots

Which revision slots to return data for, when slot-related properties are included in drvprops. If omitted, data from the main slot will be returned in a backwards-compatible format.

値 (| または別の文字列で区切る): main
すべての値を指定するには、*を用いてください。
drvlimit

返す版の数を制限する。

型: 整数または max
値は1以上500以下です。
drvexpandtemplates
廃止予定です。

Use action=expandtemplates instead. Expand templates in revision content (requires drvprop=content).

型: 真偽値 (詳細)
drvgeneratexml
廃止予定です。

Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires drvprop=content).

型: 真偽値 (詳細)
drvparse
廃止予定です。

Use action=parse instead. Parse revision content (requires drvprop=content). For performance reasons, if this option is used, drvlimit is enforced to 1.

型: 真偽値 (詳細)
drvsection

Only retrieve the content of the section with this identifier.

drvdiffto
廃止予定です。

Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.

drvdifftotext
廃止予定です。

Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides drvdiffto. If drvsection is set, only that section will be diffed against this text.

drvdifftotextpst
廃止予定です。

Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with drvdifftotext.

型: 真偽値 (詳細)
drvcontentformat
廃止予定です。

Serialization format used for drvdifftotext and expected for output of content.

値 (次の値のいずれか1つ): application/json、application/octet-stream、application/unknown、application/x-binary、text/css、text/javascript、text/plain、text/unknown、text/x-wiki、unknown/unknown
drvstart

列挙の始点となるタイムスタンプ。版IDの一覧を処理するときには無視されます。

Type: timestamp (allowed formats)
drvend

列挙の終点となるタイムスタンプ。版IDの一覧を処理するときには無視されます。

Type: timestamp (allowed formats)
drvdir

列挙の方向:

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

このタグが付与された版のみ表示します。

drvuser

この利用者による版のみを一覧表示。

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

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

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

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.