MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cxdelete
(main | cxdelete)
- 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 a draft translation created using the Content Translation extension.
Parameters:
- 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.
- token
A "csrf" token retrieved from action=query&meta=tokens
- 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]