Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

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

action=cxsave

(main | cxsave)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • Mô đun này cần quyền đọc.
  • Mô đun này cần quyền ghi.
  • Mô đun này chỉ có nhận các yêu cầu POST.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.

Các tham số:
Other general parameters are available.
from

The source language code.

This parameter is required.
to

The target language code.

This parameter is required.
sourcetitle

The title of the source page.

This parameter is required.
title

The title of the page to perform actions on.

This parameter is required.
content

JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, sequenceId, sequenceId, origin

This parameter is required.
sourcerevision

Phiên bản của trang nguồn.

This parameter is required.
Type: integer
progress

Thông tin về tiến trình bản dịch. JSON có các mã any, human, mt, và mtSectionsCount. Các mã này có giá trị phần trăm.

This parameter is required.
cxversion

Phiên bản của người sửa được dùng để tạo bản dịch của bài viết nháp này.

Type: integer
The value must be between 1 and 2.
sourcecategories

JSON encoded array of source categories to be saved with draft translation.

Cannot be longer than 65.535 bytes.
targetcategories

JSON encoded array of target categories to be saved with draft translation.

Cannot be longer than 65.535 bytes.
token

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

This parameter is required.
Bài viết được in từ nguồn Wiki Scholarship “https://wiki.scholarship.edu.vn/Đặc_biệt:Trợ_giúp_API