MedijaViki API pagalba

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxpublishsection

(main | cxpublishsection)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Šaltinis: ContentTranslation
  • Licencija: GPL-2.0-or-later

Save a section created using the Content Translation extension's section translation feature.

Konkretūs parametrai:
Other general parameters are available.
title

Puslapio, kuriame atlikti veiksmus, pavadinimas.

This parameter is required.
html

Turinys, kurį reikia išsaugoti.

This parameter is required.
sourcelanguage

Šaltinio kalbos kodas.

This parameter is required.
targetlanguage

Tikslo kalbos kodas.

This parameter is required.
sourcetitle

Šaltinio puslapio pavadinimas.

This parameter is required.
sourcerevid

The source page revision id.

This parameter is required.
sourcesectiontitle

Šaltinio skyriaus pavadinimas.

This parameter is required.
targetsectiontitle

Tikslo skyriaus pavadinimas.

This parameter is required.
sectiontranslationid

The section translation id associated with the draft section translation.

This parameter is required.
Type: integer
publishtarget

The publishing target of the section translation. Possible values: 'SANDBOX', 'NEW_SECTION', 'EXPAND' and 'REPLACE'.

One of the following values: EXPAND, NEW_SECTION, REPLACE, SANDBOX
existingsectiontitle

The title of the existing section that is going to be expanded.

captchaid

Captcha ID (when saving with a captcha response).

captchaword

Answer to the captcha (when saving with a captcha response).

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.