미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=deletedrevs (dr)
- 이 모듈은 구식입니다.
- 이 모듈은 read 권한을 요구합니다.
- 출처: MediaWiki
- 라이선스: GPL-2.0-or-later
삭제된 판을 나열합니다.
Operates in three modes:
- List deleted revisions for the given titles, sorted by timestamp.
- List deleted contributions for the given user, sorted by timestamp (no titles specified).
- List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, druser not set).
Certain parameters only apply to some modes and are ignored in others.
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- drstart
나열을 시작할 타임스탬프
- 모드: 1, 2
- 유형: 타임스탬프 (허용되는 포맷)
- drend
나열을 끝낼 타임스탬프
- 모드: 1, 2
- 유형: 타임스탬프 (허용되는 포맷)
- drdir
In which direction to enumerate:
- newer
- List oldest first. Note: drstart has to be before drend.
- older
- List newest first (default). Note: drstart has to be later than drend.
- 모드: 1, 3
- 다음 값 중 하나: newer, older 또는 다른 문자열: newer, older
- 기본값: older
- drfrom
이 제목부터 나열을 시작합니다.
- 모드: 3
- drto
이 제목까지 나열합니다.
- 모드: 3
- drprefix
Search for all page titles that begin with this value.
- 모드: 3
- drunique
각 문서마다 하나의 판만 나열합니다.
- 모드: 3
- 유형: 불리언 (자세한 정보)
- drnamespace
이 이름공간의 문서만 나열합니다.
- 모드: 3
- 다음 값 중 하나: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829 또는 다른 문자열: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829
- 기본값: 0
- drtag
이 태그로 태그된 판만을 나열합니다.
- druser
이 사용자에 대한 판만 나열합니다.
- 형태: 사용자 이름, IP, 임시 사용자, 인터위키 이름 (예: "prefix>ExampleName"), 사용자 ID (예: "#12345") 모두에 따른 사용자
- drexcludeuser
이 사용자에 대한 판을 나열하지 않습니다.
- 형태: 사용자 이름, IP, 임시 사용자, 인터위키 이름 (예: "prefix>ExampleName"), 사용자 ID (예: "#12345") 모두에 따른 사용자
- drprop
가져올 속성입니다:
- revid
- Adds the revision ID of the deleted revision.
- parentid
- Adds the revision ID of the previous revision to the page.
- user
- Adds the user who made the revision.
- userid
- Adds the ID of the user who made the revision.
- comment
- Adds the comment of the revision.
- parsedcomment
- Adds the parsed comment of the revision.
- minor
- 판이 사소한 편집이면 태그합니다.
- len
- 판의 길이(바이트)를 추가합니다.
- sha1
- 판의 SHA-1(베이스 16)를 추가합니다.
- content
- Adds the content of the revision. For performance reasons, if this option is used, drlimit is enforced to 50.
- token
- 구식입니다. 편집 토큰을 제공합니다.
- tags
- 판의 태그입니다.
- 값 (|로 구분): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, user, userid, token 또는 다른 문자열: comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, user, userid, token
- 기본값: user|comment
- drlimit
나열할 판의 최대 양.
- 유형: 정수 또는 max
- 값은 1와 500 사이여야 합니다.
- 기본값: 10
- drcontinue
더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
예시:
- List the last deleted revisions of the pages 대문 and Talk:Main Page, with content (mode 1).
- api.php?action=query&list=deletedrevs&titles=%EB%8C%80%EB%AC%B8|%ED%86%A0%EB%A1%A0%3A%EB%8C%80%EB%AC%B8&drprop=user|comment|content [연습장에서 열기]
- List the last 50 deleted contributions by Bob (mode 2).
- api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50 [연습장에서 열기]
- List the first 50 deleted revisions in the main namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50 [연습장에서 열기]
- List the first 50 deleted pages in the 토론 namespace (mode 3).
- api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique= [연습장에서 열기]