미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=massmessage

(main | massmessage)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 write 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: MassMessage
  • 라이선스: GPL-2.0-or-later

문서 목록에 메시지를 보냅니다.

변수:
spamlist

메시지를 남길 문서 목록을 포함하는 문서입니다.

이 변수는 필수입니다.
subject

메시지의 제목 줄입니다.

이 변수는 필수입니다.
message

메시지 본문입니다.

page-message

Page to be sent along with the message body.

token

"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다

이 변수는 필수입니다.
예시:
Signpost Spamlist의 목록에 "New Signpost"라는 제목과 "Please read it"라는 본문의 메시지를 보냅니다.
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&token=TOKEN [연습장에서 열기]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and the message as the content of the page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&page-message=Help_Page&token=TOKEN [연습장에서 열기]
Send a message to the list at Signpost Spamlist with the subject "New Signpost", and message body of "Please read it" appended with the content from page "Help Page".
api.php?action=massmessage&spamlist=Signpost%20Spamlist&subject=New%20Signpost&message=Please%20read%20it&page-message=Help_Page&token=TOKEN [연습장에서 열기]