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=cxpublishsection

(main | cxpublishsection)
  • Ez a modul belső használatú vagy nem stabil. A működése értesítés nélkül változhat.
  • 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

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

Jellemző paraméterek:
Other general parameters are available.
title

The title of the page to perform actions on.

Ez a paraméter kötelező.
html

The content to save.

Ez a paraméter kötelező.
sourcelanguage

The source language code.

Ez a paraméter kötelező.
targetlanguage

The target language code.

Ez a paraméter kötelező.
sourcetitle

The title of the source page.

Ez a paraméter kötelező.
sourcerevid

The source page revision id.

Ez a paraméter kötelező.
sourcesectiontitle

The title of the source section.

Ez a paraméter kötelező.
targetsectiontitle

The title of the target section.

Ez a paraméter kötelező.
sectiontranslationid

The section translation id associated with the draft section translation.

Ez a paraméter kötelező.
Típus: egész szám
issandbox

Use a sandbox title for translation.

Típus: logikai (részletek)
captchaid

Captcha ID (when saving with a captcha response).

captchaword

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

token

Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve

Ez a paraméter kötelező.