MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=cxdelete

(main | cxdelete)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ContentTranslation
  • License: See link

Delete a draft translation created using the Content Translation extension.

Parameters:
token

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

This parameter is required.
from

The source language code.

This parameter is required.
to

The target language code.

This parameter is required.
sourcetitle

The title of the source page.

This parameter is required.
Example:
Delete a draft associated with given language pair and title.
api.php?action=cxdelete&from=en&to=es&sourcetitle=Food [open in sandbox]