MediaWiki API ヘルプ

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

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

list=alldeletedrevisions (adr)

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

利用者によって削除された、または名前空間内の削除されたすべての版を一覧表示する。

パラメーター:
adrprop

Which properties to get for each revision:

ids
版のID。
flags
Revision flags (minor).
timestamp
版のタイムスタンプ。
user
その版を作成した利用者。
userid
その版の作成者の利用者ID。
size
その版の長さ (バイト) 。
sha1
SHA-1 (base 16) of the revision.
contentmodel
Content model ID of the revision.
comment
その版の利用者によるコメント。
parsedcomment
その版の利用者による、構文解析されたコメント。
content
その版のテキスト。
tags
その版のタグ。
parsetree
Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model wikitext).
値 (|もしくは別の文字列で区切る): idsflagstimestampuseruseridsizesha1contentmodelcommentparsedcommentcontenttagsparsetree
既定値: ids|timestamp|flags|comment|user
adrlimit

返す版の数を制限する。

No more than 500 (5,000 for bots) allowed.
Type: integer or max
adrexpandtemplates
廃止予定です。

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

Type: boolean (details)
adrgeneratexml
廃止予定です。

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

Type: boolean (details)
adrparse
廃止予定です。

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

Type: boolean (details)
adrsection

Only retrieve the content of this section number.

adrdiffto
廃止予定です。

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

adrdifftotext
廃止予定です。

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

adrdifftotextpst
廃止予定です。

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

Type: boolean (details)
adrcontentformat

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

値 (次の値のいずれか1つ): application/jsontext/x-wikitext/javascripttext/csstext/plain
adruser

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

Type: user name
adrnamespace

この名前空間に含まれるページのみを一覧表示します。

値 (|もしくは別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、460、461、2300、2301、2302、2303
To specify all values, use *.
adrstart

列挙の始点となるタイムスタンプ。

adruser と同時に使用します。
Type: timestamp (allowed formats)
adrend

列挙の終点となるタイムスタンプ。

adruser と同時に使用します。
Type: timestamp (allowed formats)
adrdir

列挙の方向:

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

列挙の始点となるページ名。

adruser と同時に使用できません。
adrto

列挙の終点となるページ名。

adruser と同時に使用できません。
adrprefix

この値で始まるすべてのページ名を検索する。

adruser と同時に使用できません。
adrexcludeuser

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

adruser と同時に使用できません。
Type: user name
adrtag

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

adrcontinue

When more results are available, use this to continue.

adrgeneratetitles

ジェネレーターとして使用する場合、版IDではなくページ名を生成します。

Type: boolean (details)
例:
利用者 Example による削除された直近の50版を一覧表示する。
api.php?action=query&list=alldeletedrevisions&adruser=Example&adrlimit=50 [サンドボックスで開く]
標準名前空間にある削除された最初の50版を一覧表示する。
api.php?action=query&list=alldeletedrevisions&adrdir=newer&adrnamespace=0&adrlimit=50 [サンドボックスで開く]