MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=cxpublish

(main | cxpublish)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: ContentTranslation
  • License: See link

Save a page created using the Content Translation extension.

Parameters:
title

The title of the page to perform actions on.

This parameter is required.
token

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

This parameter is required.
html

The content to save.

This parameter is required.
from

The source language code.

This parameter is required.
progress
(no description)
This parameter is required.
to

The target language code.

This parameter is required.
sourcetitle

The title of the source page.

This parameter is required.
sourcerevision

The revision of the source page.

This parameter is required.
status

If "draft", translation will be saved as draft. If "published", translation will be published.

This parameter is required.
One of the following values: draft, published
categories

The categories to be added to the published page.

wpCaptchaId

Captcha ID (when saving with a captcha response).

wpCaptchaWord

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