미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
action=revisiondelete
(main | revisiondelete)
- 이 모듈은 read 권한을 요구합니다.
 - 이 모듈은 write 권한을 요구합니다.
 - 이 모듈은 POST 요청만을 허용합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0-or-later
 
판을 삭제하거나 되살립니다.
변수:
- type
 Type of revision deletion being performed.
- 이 변수는 필수 입력 사항입니다.
 - 다음 값 중 하나: revision, archive, oldimage, filearchive, logging 또는 다른 문자열: revision, archive, oldimage, filearchive, logging
 - target
 Page title for the revision deletion, if required for the type.
- ids
 Identifiers for the revisions to be deleted.
- 이 변수는 필수 입력 사항입니다.
 - | 또는 대안으로 값을 구분합니다. 값들의 최대 수는 50입니다. (봇의 경우 500)
 - hide
 What to hide for each revision.
- 값 (|로 구분): content, comment, user 또는 다른 문자열: content, comment, user
 - show
 What to unhide for each revision.
- 값 (|로 구분): content, comment, user 또는 다른 문자열: content, comment, user
 - suppress
 Whether to suppress data from administrators as well as others.
- 다음 값 중 하나: yes, no, nochange 또는 다른 문자열: yes, no, nochange
 - 기본값: nochange
 - reason
 삭제 또는 복구 이유.
- tags
 Tags to apply to the entry in the deletion log.
- 값 (|로 구분): 또는 다른 문자열:
 - token
 "csrf" 토큰은 action=query&meta=tokens에서 가져옵니다
- 이 변수는 필수 입력 사항입니다.
 
예시:
- Hide content for revision 12345 on the page Main Page.
 - api.php?action=revisiondelete&target=Main%20Page&type=revision&ids=12345&hide=content&token=123ABC [연습장에서 열기]
 - Hide all data on log entry 67890 with the reason BLP violation.
 - api.php?action=revisiondelete&type=logging&ids=67890&hide=content|comment|user&reason=BLP%20violation&token=123ABC [연습장에서 열기]