미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=editmassmessagelist
(main | editmassmessagelist)
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 write 권한을 요구합니다.
- 이 모듈은 POST 요청만을 허용합니다.
- 출처: MassMessage
- 라이선스: GPL-2.0-or-later
대량 메시지 수신자 목록을 편집합니다.
변수:
- spamlist
Title of the delivery list to update.
- 이 변수는 필수입니다.
- description
New description for the delivery list.
- add
Titles to add to the list.
- | 또는 대안으로 값을 구분합니다.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- remove
Titles to remove from the list.
- | 또는 대안으로 값을 구분합니다.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- minor
Whether the edit should be marked as minor in the history of the list.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- 다음 값 중 하나: nochange, preferences, unwatch, watch 또는 다른 문자열: nochange, preferences, unwatch, watch
- 기본값: preferences
- token
"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다
- 이 변수는 필수입니다.
예시:
- Add User talk:Foo and Talk:Bar to the delivery list Example and remove Talk:Baz from it
- api.php?action=editmassmessagelist&spamlist=Example&add=User%20talk%3AFoo%7CTalk%3ABar&remove=Talk%3ABaz&token=TOKEN [연습장에서 열기]
- Set the description of the delivery list Example to be "FooBar delivery services"
- api.php?action=editmassmessagelist&spamlist=Example&description=FooBor%20delivery%20services&token=TOKEN [연습장에서 열기]