Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=sxdelete

(main | sxdelete)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

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

Specific parameters:
Other general parameters are available.
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

Маркер „csrf“, получен от action=query&meta=tokens

This parameter is required.
Пример:
Delete a draft associated with given translation id and section id.
api.php?action=sxdelete&translationid=1&sectionid=100_20 [open in sandbox]