Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=sxdelete
(main | sxdelete)
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul vyžaduje oprávnění k zápisu.
- Tento modul přijímá pouze požadavky POST.
- Zdroj: ContentTranslation
- Licence: GPL-2.0-or-later
Delete the draft section translation and its parallel corpora from database.
Parametry:
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
Token typu „csrf“ získaný pomocí action=query&meta=tokens.
- This parameter is required.
Příklad:
- Delete a draft associated with given translation id and section id.
- api.php?action=sxdelete&translationid=1§ionid=100_20 [otevřít v pískovišti]