MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
action=massmessage
(main | massmessage)
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- Source: MassMessage
- License: GPL-2.0+
Send a message to a list of pages.
パラメーター:
- spamlist
Page containing list of pages to leave a message on.
- このパラメーターは必須です。
- subject
Subject line of the message.
- このパラメーターは必須です。
- message
Message body text.
- このパラメーターは必須です。
- token
action=query&meta=tokens から取得した「csrf」トークン
- このパラメーターは必須です。
例:
- Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it"
- api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&token=TOKEN [サンドボックスで開く]