미디어위키 API 도움말

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

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

list=deletedrevs (dr)

(main | query | deletedrevs)
  • 이 모듈은 구식입니다.
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0-or-later

삭제된 판을 나열합니다.

Operates in three modes:

  1. List deleted revisions for the given titles, sorted by timestamp.
  2. List deleted contributions for the given user, sorted by timestamp (no titles specified).
  3. 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

Start listing at this title.

모드: 3
drto

Stop listing at this title.

모드: 3
drprefix

Search for all page titles that begin with this value.

모드: 3
drunique

List only one revision for each page.

모드: 3
Type: boolean (details)
drnamespace

Only list pages in this namespace.

모드: 3
다음 값 중 하나: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829, 2300, 2301, 2302, 2303 또는 다른 문자열: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829, 2300, 2301, 2302, 2303
기본값: 0
drtag

Only list revisions tagged with this tag.

druser

Only list revisions by this user.

형태: 사용자 이름, IP, 인터위키 이름 (예: "prefix>ExampleName"), 사용자 ID (예: "#12345") 모두에 따른 사용자
drexcludeuser

Don't list revisions by this user.

형태: 사용자 이름, IP, 인터위키 이름 (예: "prefix>ExampleName"), 사용자 ID (예: "#12345") 모두에 따른 사용자
drprop

Which properties to get:

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
Tags if the revision is minor.
len
Adds the length (bytes) of the revision.
sha1
Adds the SHA-1 (base 16) of the revision.
content
Adds the content of the revision.
token
Deprecated. Gives the edit token.
tags
Tags for the revision.
값 (|로 구분): comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, token, user, userid 또는 다른 문자열: comment, content, len, minor, parentid, parsedcomment, revid, sha1, tags, token, user, userid
기본값: user|comment
drlimit

나열할 판의 최대 양.

유형: 정수 또는 max
The value must be between 1 and 500.
기본값: 10
drcontinue

더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.

예시:
List the last deleted revisions of the pages Main Page and Talk:Main Page, with content (mode 1).
api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&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= [연습장에서 열기]