미디어위키 API 도움말

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

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

action=csvote

(main | csvote)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: CommentStreams
  • 라이선스: MIT

댓글에 투표(찬성, 반대, 중립)합니다.

변수:
pageid

page ID of the page which holds the comment to be voted on

Type: integer
title

title of the page which holds the comment to be voted on

vote

투표 (1, -1, 0).

이 변수는 필수입니다.
Type: integer
token

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

이 변수는 필수입니다.
예시:
문서 ID 3의 댓글에 투표
api.php?action=csvote&pageid=3 [연습장에서 열기]
vote on comment with page title CommentStreams:3
api.php?action=csvote&title=CommentStreams:3 [연습장에서 열기]