Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

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

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 |):
deletetalk

Delete the talk page, if it exists.

Type: boolean (details)
watch
Lỗi thờ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 (ignored for bot users) or do not change watch.

Một trong các giá trị: nochange, preferences, unwatch, watch
Default: preferences
unwatch
Lỗi thờ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

This parameter is required.