Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cxpublishsection
(main | cxpublishsection)
- This module is internal or unstable. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: ContentTranslation
- License: GPL-2.0-or-later
Save a section created using the Content Translation extension's section translation feature.
Specific parameters:
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
Код на изходния език.
- This parameter is required.
- targetlanguage
Код на целевия език.
- This parameter is required.
- sourcetitle
Заглавието на изходната страница.
- This parameter is required.
- sourcerevid
The source page revision id.
- This parameter is required.
- sourcesectiontitle
Заглавието на изходния раздел.
- This parameter is required.
- targetsectiontitle
Заглавието на целевия раздел.
- 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
Маркер „csrf“, получен от action=query&meta=tokens
- This parameter is required.