미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=revisiondelete
(main | revisiondelete)
- 이 모듈은 read 권한을 요구합니다.
 - 이 모듈은 write 권한을 요구합니다.
 - 이 모듈은 POST 요청만을 허용합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0-or-later
 
판을 삭제하거나 되살립니다.
변수:
- type
 Type of revision deletion being performed.
- 이 변수는 필수입니다.
 - 다음 값 중 하나: archive, filearchive, logging, oldimage, revision 또는 다른 문자열: archive, filearchive, logging, oldimage, revision
 - 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.
- 값 (|로 구분): comment, content, user 또는 다른 문자열: comment, content, user
 - show
 What to unhide for each revision.
- 값 (|로 구분): comment, content, user 또는 다른 문자열: comment, content, user
 - suppress
 Whether to suppress data from administrators as well as others.
- 다음 값 중 하나: no, nochange, yes 또는 다른 문자열: no, nochange, yes
 - 기본값: 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 [연습장에서 열기]