MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=alldeletedrevisions (adr)
- このモジュールは読み取りの権限を必要とします。
 - このモジュールはジェネレーターとして使用できます。
 - ソース: MediaWiki
 - ライセンス: GPL-2.0-or-later
 
利用者によって削除された、または名前空間内の削除されたすべての版を一覧表示する。
- adrprop
 Which properties to get for each revision:
- ids
 - 版のID。
 - flags
 - Revision flags (minor).
 - timestamp
 - 版のタイムスタンプ。
 - user
 - その版を作成した利用者。
 - userid
 - その版の作成者の利用者ID。
 - 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
 - その版の利用者によるコメント。
 - parsedcomment
 - その版の利用者による、構文解析されたコメント。
 - 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
 - adrslots
 Which revision slots to return data for, when slot-related properties are included in adrprops. If omitted, data from the main slot will be returned in a backwards-compatible format.
- 値 (| または別の文字列で区切る): main
 - すべての値を指定するには、*を用いてください。
 - adrlimit
 返す版の数を制限する。
- 型: 整数または max
 - 値は1以上500以下です。
 - adrexpandtemplates
 - 廃止予定です。
 Use action=expandtemplates instead. Expand templates in revision content (requires adrprop=content).
- 型: 真偽値 (詳細)
 - adrgeneratexml
 - 廃止予定です。
 Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires adrprop=content).
- 型: 真偽値 (詳細)
 - adrparse
 - 廃止予定です。
 Use action=parse instead. Parse revision content (requires adrprop=content). For performance reasons, if this option is used, adrlimit is enforced to 1.
- 型: 真偽値 (詳細)
 - 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.
- 型: 真偽値 (詳細)
 - adrcontentformat
 - 廃止予定です。
 Serialization format used for adrdifftotext 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
 - adruser
 この利用者による版のみを一覧表示する。
- 型: 利用者名、IP、インターウィキの名前(例: "prefix>ExampleName") および 利用者ID(例: #12345)のいずれかを使った利用者
 - adrnamespace
 この名前空間に含まれるページのみを一覧表示します。
- 値 (| または別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15
 - すべての値を指定するには、*を用いてください。
 - adrstart
 列挙の始点となるタイムスタンプ。
- adruser と同時に使用します。
 - Type: timestamp (allowed formats)
 - adrend
 列挙の終点となるタイムスタンプ。
- adruser と同時に使用します。
 - Type: timestamp (allowed formats)
 - adrdir
 列挙の方向:
- newer
 - 古いものを先に表示します。注意: adrstart は adrend 以前でなければなりません。
 - older
 - 新しいものを先に表示します (既定)。注意: adrstart は adrend 以降でなければなりません。
 
- 値 (次の値のいずれか1つ): newer、older
 - 既定: older
 - adrfrom
 列挙の始点となるページ名。
- adruser と同時に使用できません。
 - adrto
 列挙の終点となるページ名。
- adruser と同時に使用できません。
 - adrprefix
 この値で始まるすべてのページ名を検索する。
- adruser と同時に使用できません。
 - adrexcludeuser
 この利用者による版を一覧表示しない。
- adruser と同時に使用できません。
 - 型: 利用者名、IP、インターウィキの名前(例: "prefix>ExampleName") および 利用者ID(例: #12345)のいずれかを使った利用者
 - adrtag
 このタグが付与された版のみを一覧表示する。
- adrcontinue
 When more results are available, use this to continue.
- adrgeneratetitles
 ジェネレーターとして使用する場合、版IDではなくページ名を生成します。
- 型: 真偽値 (詳細)
 
- 利用者 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 [サンドボックスで開く]