Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=revisiondelete

(main | revisiondelete)
  • Mô đun này cần quyền đọc.
  • Mô đun này cần quyền ghi.
  • Mô đun này chỉ có nhận các yêu cầu POST.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Delete and undelete revisions.

Các tham số:
type

Type of revision deletion being performed.

Tham số này là bắt buộc.
Một trong các giá trị: revision, archive, oldimage, filearchive, logging
target

Page title for the revision deletion, if required for the type.

ids

Identifiers for the revisions to be deleted.

Tham số này là bắt buộc.
Phân tách các giá trị bằng |. Maximum number of values is 50 (500 for bots).
hide

What to hide for each revision.

Các giá trị (phân tách bằng |): content, comment, user
show

What to unhide for each revision.

Các giá trị (phân tách bằng |): content, comment, user
suppress

Whether to suppress data from administrators as well as others.

Một trong các giá trị: yes, no, nochange
Mặc định: nochange
reason

Reason for the deletion or undeletion.

tags

Tags to apply to the entry in the deletion log.

Các giá trị (phân tách bằng |):
token

A "csrf" token retrieved from action=query&meta=tokens

Tham số này là bắt buộc.