MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=markfortranslation
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- ソース: 翻訳
- ライセンス: GPL-2.0-or-later
Mark a page for translation
- title
The title of the page to act on. Either title or pageid must be set.
- pageid
The page ID of the page to act on. Either title or pageid must be set.
- 型: 整数
- revid
Assert that the current version of the page has this revision ID before continuing. If the page has been updated, exit with an error.
- 型: 整数
- translatetitle
If yes, allow translation of the display title. If no, do not allow translation. If absent, allow translation unless the page previously disallowed translation, or if the page is a template.
- 値 (次の値のいずれか1つ): no、yes
- prioritylanguages
A list of priority language codes. If this is absent, any previously set value will be retained.
- 複数の値は | または代わりの文字で区切ってください。
- 値の最大値は 1,000 です。
- forcepriority
This parameter is ignored unless the prioritylanguages parameter is present. If true, prevent translations to languages other than the priority languages.
- 型: 真偽値 (詳細)
- priorityreason
This parameter is ignored unless the prioritylanguages parameter is present. A string giving the reason for priority translation.
- nofuzzyunits
A list of translation unit IDs which should not be fuzzied. This will be merged with the default list, in which any units with only tvar changes will not be fuzzied.
- 複数の値は | または代わりの文字で区切ってください。
- 値の最大値は 1,000 です。
- fuzzyunits
A list of translation unit IDs which should be fuzzied. This is only useful to override the default and allows fuzzying even units with only tvar changes.
- 複数の値は | または代わりの文字で区切ってください。
- 値の最大値は 1,000 です。
- forcelatestsyntaxversion
If false, do not use latest syntax version for this page. If absent, latest syntax version is used.
- 型: 真偽値 (詳細)
- transclusion
If yes or absent, enable translation aware transclusion for this page. If no, disable transclusion.
- 値 (次の値のいずれか1つ): no、yes
- token
action=query&meta=tokens から取得した「csrf」トークン
- この変数は必須です。