MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: 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
パラメーター:
その他一般パラメーターが利用可能です。
- sourcelanguage
翻訳元の言語コード。
- この変数は必須です。
- targetlanguage
翻訳先の言語コード。
- この変数は必須です。
- sourcetitle
翻訳元のページ名。
- この変数は必須です。
- targettitle
翻訳先のページ名。
- この変数は必須です。
- content
JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, origin, validate
- この変数は必須です。
- sourcerevision
The source page revision id.
- この変数は必須です。
- 型: 整数
- sourcesectiontitle
翻訳元の節の見出し。
- この変数は必須です。
- targetsectiontitle
翻訳先の節の見出し。
- この変数は必須です。
- sectionid
ページセクションID。
- この変数は必須です。
- issandbox
Use a sandbox title for translation.
- 型: 真偽値 (詳細)
- progress
The progress of the translation.
- この変数は必須です。
- token
action=query&meta=tokens から取得した「csrf」トークン
- この変数は必須です。