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=cxpublishsection
(main | cxpublishsection)
- Tento modul je interní nebo nestabilní. Jeho funkčnost se může bez předchozího upozornění změnit.
- 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
Save a section created using the Content Translation extension's section translation feature.
Parametry:
Other general parameters are available.
- title
The title of the page to perform actions on.
- This parameter is required.
- html
The content to save.
- This parameter is required.
- sourcelanguage
The source language code.
- This parameter is required.
- targetlanguage
The target language code.
- This parameter is required.
- sourcetitle
The title of the source page.
- This parameter is required.
- sourcerevid
The source page revision id.
- This parameter is required.
- sourcesectiontitle
The title of the source section.
- This parameter is required.
- targetsectiontitle
The title of the target section.
- This parameter is required.
- issandbox
- ⧼apihelp-cxpublishsection-param-issandbox⧽
- Type: boolean (details)
- captchaid
Captcha ID (when saving with a captcha response).
- captchaword
Answer to the captcha (when saving with a captcha response).
- token
Token typu „csrf“ získaný pomocí action=query&meta=tokens.
- This parameter is required.