MediaWiki API help

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.
  • Font : ContentTranslation
  • Licéncia : GPL-2.0-or-later

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

Paramètres :
Other general parameters are available.
title

The title of the page to perform actions on.

Cal aquest paràmetre.
html

The content to save.

Cal aquest paràmetre.
sourcelanguage

The source language code.

Cal aquest paràmetre.
targetlanguage

The target language code.

Cal aquest paràmetre.
sourcetitle

The title of the source page.

Cal aquest paràmetre.
sourcerevid

The source page revision id.

Cal aquest paràmetre.
sourcesectiontitle

The title of the source section.

Cal aquest paràmetre.
targetsectiontitle

The title of the target section.

Cal aquest paràmetre.
sectiontranslationid

The section translation id associated with the draft section translation.

Cal aquest paràmetre.
Tipus: enter
issandbox

Use a sandbox title for translation.

Type: boolean (details)
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

Cal aquest paràmetre.