MediaWiki API ヘルプ
このページは自動生成された MediaWiki Action API の説明文書ページです。
action=discouragetranslation
(main | discouragetranslation)
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- ソース: 翻訳
- ライセンス: GPL-2.0-or-later
Mark a translatable page as discouraged or not discouraged. Discouraged pages are hidden from the translation interface when searching for pages to translate, but can still be translated directly.
特定のパラメータ:
その他一般パラメーターが利用可能です。
- 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.
- 型: 整数
- do
The desired action to perform to the page.
- discourage
- Mark the page as discouraged, causing it to be hidden from lists of pages to translate.
- encourage
- Mark the page as no longer discouraged, causing it to be shown on lists of pages to translate.
- この変数は必須です。
- 値 (次の値のいずれか1つ): discourage、encourage
- reason
Log summary to use when logging to Special:Log/pagetranslation
- token
action=query&meta=tokens から取得した「csrf」トークン
- この変数は必須です。