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=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.
- 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.
Example:
- Delete a draft associated with given translation id and section id.
- api.php?action=sxdelete&translationid=1§ionid=100_20 [open in sandbox]