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

(main | sxdelete)
  • 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: ContentTranslation
  • License: GPL-2.0-or-later

Delete the draft section translation and its parallel corpora from database.

Các tham số:
Other general parameters are available.
sectiontranslationid

The section translation id associated with the draft section translation.

This parameter is required.
Type: integer
translationid

The translation id associated with the draft section translation.

This parameter is required.
Type: integer
sectionid

The id of the section of the draft section translation.

This parameter is required.
token

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

This parameter is required.
Ví dụ:
Delete a draft associated with given translation id and section id.
api.php?action=sxdelete&translationid=1&sectionid=100_20 [open in sandbox]