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=cxsave
- มอดูลนี้เป็นมอดูลภายในหรือไม่เสถียร การดำเนินการของมอดูลนี้อาจเปลี่ยนแปลงได้โดยไม่แจ้งให้ทราบล่วงหน้า
- มอดูลนี้ต้องการสิทธิในการอ่าน
- มอดูลนี้ต้องการสิทธิในการเขียน
- มอดูลนี้ยอมรับเฉพาะคำขอ POST เท่านั้น
- แหล่งที่มา: ContentTranslation
- สัญญาอนุญาต: GPL-2.0-or-later
This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.
- from
รหัสภาษาต้นทาง
- This parameter is required.
- to
รหัสภาษาปลายทาง
- This parameter is required.
- sourcetitle
ชื่อเรื่องของหน้าต้นทาง
- This parameter is required.
- title
ชื่อเรื่องของหน้าที่จะดำเนินการกระทำ
- 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
การปรับปรุงของหน้าต้นทาง
- This parameter is required.
- Type: integer
- progress
Information about translation completion (progress). JSON with the keys
any
,human
,mt
andmtSectionsCount
. The keys' values are percentages.- This parameter is required.
- cxversion
Version of the editor used to create the draft translation.
- 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.