MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=sxdelete
(main | sxdelete)
- Ez a modul olvasási jogot igényel.
- Ez a modul írási jogot igényel.
- Ez a modul csak POST kéréseket fogad el.
- Forrás: ContentTranslation
- Licenc: GPL-2.0-or-later
Delete the draft section translation and its parallel corpora from database.
Jellemző paraméterek:
Other general parameters are available.
- sectiontranslationid
The section translation id associated with the draft section translation.
- Ez a paraméter kötelező.
- Típus: egész szám
- translationid
The translation id associated with the draft section translation.
- Ez a paraméter kötelező.
- Típus: egész szám
- sectionid
The id of the section of the draft section translation.
- Ez a paraméter kötelező.
- token
Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.
Példa:
- Delete a draft associated with given translation id and section id.
- api.php?action=sxdelete&translationid=1§ionid=100_20 [megnyitás a homokozóban]