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=sxsave
(main | sxsave)
- มอดูลนี้เป็นมอดูลภายในหรือไม่เสถียร การดำเนินการของมอดูลนี้อาจเปลี่ยนแปลงได้โดยไม่แจ้งให้ทราบล่วงหน้า
- มอดูลนี้ต้องการสิทธิในการอ่าน
- มอดูลนี้ต้องการสิทธิในการเขียน
- มอดูลนี้ยอมรับเฉพาะคำขอ POST เท่านั้น
- แหล่งที่มา: ContentTranslation
- สัญญาอนุญาต: GPL-2.0-or-later
Save the draft section translation and store the parallel corpora
Specific parameters:
Other general parameters are available.
- sourcelanguage
The source language code.
- This parameter is required.
- targetlanguage
The target language code.
- This parameter is required.
- sourcetitle
The title of the source page.
- This parameter is required.
- targettitle
The title of the target page.
- This parameter is required.
- content
JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, origin, validate
- This parameter is required.
- sourcerevision
The source page revision id.
- This parameter is required.
- Type: integer
- sourcesectiontitle
The title of the source section.
- This parameter is required.
- targetsectiontitle
The title of the target section.
- This parameter is required.
- sectionid
The page section id.
- This parameter is required.
- issandbox
Use a sandbox title for translation.
- Type: boolean (details)
- progress
The progress of the translation.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.