Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cxpublish

(main | cxpublish)
  • 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 page created using the Content Translation extension.

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.
from

Код на изходния език.

This parameter is required.
to

Код на целевия език.

This parameter is required.
sourcetitle

Заглавие на изходната страница.

This parameter is required.
categories

The categories to put the published page in.

publishtags

The edit tags to add to the published page.

За разделител на стойностите използвайте | или алтернативния разделител.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
wpCaptchaId

Captcha ID (when saving with a captcha response).

wpCaptchaWord

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

cxversion

Version of the editor used to publish the translation.

This parameter is required.
Type: integer
The value must be between 1 and 2.
token

Маркер „csrf“, получен от action=query&meta=tokens

This parameter is required.