MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
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.
 - slotsha1
 - SHA-1 (base 16) of each revision slot.
 - contentmodel
 - Content model ID of each revision slot.
 - comment
 - その版の利用者によるコメント。
 - parsedcomment
 - その版の利用者による、構文解析されたコメント。
 - content
 - 各リビジョンスロットの内容。
 - 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). 
- 値 (|もしくは別の文字列で区切る): ids、flags、timestamp、user、userid、size、slotsize、sha1、slotsha1、contentmodel、comment、parsedcomment、content、tags、roles、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
 - To specify all values, use *.
 - adrlimit
 返す版の数を制限する。
- 500(botは5,000)より多くは受け付けません。
 - 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つ): text/x-wiki、text/javascript、application/json、text/css、text/plain
 - adruser
 この利用者による版のみを一覧表示する。
- Type: user name
 - adrnamespace
 この名前空間に含まれるページのみを一覧表示します。
- 値 (|もしくは別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15
 - 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つ): newer、older
 - 既定値: 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 [サンドボックスで開く]