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

The source language code.

この変数は必須です。
targetlanguage

The target language code.

この変数は必須です。
sourcetitle

The title of the source page.

この変数は必須です。
targettitle

The title of the target page.

この変数は必須です。
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

The title of the source section.

この変数は必須です。
targetsectiontitle

The title of the target section.

この変数は必須です。
sectionid

ページセクションID。

この変数は必須です。
issandbox
⧼apihelp-sxsave-param-issandbox⧽
型: 真偽値 (詳細)
isleadsection
⧼apihelp-sxsave-param-isleadsection⧽
型: 真偽値 (詳細)
token

action=query&meta=tokens から取得した「csrf」トークン

この変数は必須です。