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=delete

(main | delete)
  • 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

Xóa trang.

Các tham số:
title

Xóa tiêu đề của trang. Không thể sử dụng cùng với pageid.

pageid

Xóa ID của trang. Không thể sử dụng cùng với title.

Type: integer
reason

Reason for the deletion. If not set, an automatically generated reason will be used.

tags

Change tags to apply to the entry in the deletion log.

Các giá trị (phân tách bằng |):
watch
Bị phản đối.

Thêm trang vào danh sách theo dõi của người dùng hiện tại.

Type: boolean (details)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

Một trong các giá trị: watch, unwatch, preferences, nochange
Mặc định: preferences
unwatch
Bị phản đối.

Bỏ trang này khỏi danh sách theo dõi của người dùng hiện tại.

Type: boolean (details)
oldimage

The name of the old image to delete as provided by action=query&prop=imageinfo&iiprop=archivename.

token

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

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