MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
action=thank
(main | thank)
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- Source: Thanks
- License: MIT
Send a thank-you notification to an editor.
パラメーター:
- rev
Revision ID to thank someone for.
- このパラメーターは必須です。
- 値は 1 以上にしてください。
- Type: integer
- token
action=query&meta=tokens から取得した「csrf」トークン
- このパラメーターは必須です。
- source
A short string describing the source of the request, for example diff or history.
例:
- Send thanks for revision ID 456, with the source being a diff page
- api.php?action=thank&revid=456&source=diff&token=123ABC [サンドボックスで開く]