MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=sxdelete

(main | sxdelete)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールは書き込みの権限を必要とします。
  • このモジュールは POST リクエストのみを受け付けます。
  • ソース: ContentTranslation
  • ライセンス: GPL-2.0-or-later

Delete the draft section translation and its parallel corpora from database.

パラメーター:
その他一般パラメーターが利用可能です。
translationid

The translation id associated with the draft section translation.

この変数は必須です。
型: 整数
sectionid

The id of the section of the draft section translation.

この変数は必須です。
token

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

この変数は必須です。
例:
Delete a draft associated with given translation id and section id.
api.php?action=sxdelete&translationid=1&sectionid=100_20 [サンドボックスで開く]