미디어위키 API 도움말

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

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

meta=readinglists (rl)

(main | query | readinglists)
  • 이 모듈은 내부용이거나 불안정합니다. 동작은 예고 없이 변경될 수 있습니다.
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: ReadingLists
  • 라이선스: GPL-2.0-or-later

사용자의 읽기 목록을 나열하거나 필터 처리한 다음 이들에 대한 메타데이터를 표시합니다.

This module has four modes of operation. With the rllist parameter, it returns information about the specified list. With the rlchangedsince parameter, it returns all lists of the current user which have been changed since the given date. (This is meant for device sync and, unlike the other modes, includes deleted lists. Only changes to list metadata are considered, not changes to list items.) With the rlproject and rltitle parameters, it returns all lists that include that page. Without any of those parameters, it returns all lists.

특정 변수:
다른 일반 변수를 사용할 수 있습니다.
rllist

List ID.

유형: 정수
값은 1 이상이어야 합니다.
rlproject

필터를 켤 문서의 프로젝트입니다. rltitle와 함께 사용해야 합니다. 이 프로젝트와 제목을 포함하는 목록만 반환됩니다.

rltitle

필터를 켤 문서의 제목입니다. rlproject와 함께 사용해야 합니다. 이 프로젝트와 제목을 포함하는 목록만 반환됩니다.

rlchangedsince

이 타임스탬프 이후로 변경된 목록을 표시합니다. 2024-05-03T01:02:35Z 이후여야 합니다.

유형: 타임스탬프 (허용되는 포맷)
rlsort

Property to sort by. Ignored when rlproject and rltitle is set (results are returned in DB order). Defaults to updated when rlchangedsince is set, and to name otherwise.

name
목록 이름입니다. (이진값으로 정렬됩니다. 이를테면 모든 ASCII 대문자는 소문자 보다 우선하여 정렬됩니다.)
updated
Last update timestamp. (Updates include list metadata changes but not changes to list items.)
다음 값 중 하나: name, updated 또는 다른 문자열: name, updated
rldir

정렬 방향: ascending (A부터 Z, 가장 오래된 것부터 가장 새로운 것) 또는 descending. rlprojectrltitle이 설정되면 무시됩니다.

다음 값 중 하나: ascending, descending 또는 다른 문자열: ascending, descending
기본값: ascending
rllimit

반환할 결과 항목의 수입니다.

유형: 정수 또는 max
값은 1와 10 사이여야 합니다.
기본값: 10
rlcontinue

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

예시:
현재 사용자의 읽기 목록을 가져옵니다.
api.php?action=query&meta=readinglists [연습장에서 열기]
2013-01-01T00:00:00Z 이후로 변경된 현재 사용자의 읽기 목록을 가져옵니다.
api.php?action=query&meta=readinglists&rlchangedsince=2013-01-01T00:00:00Z [연습장에서 열기]
en.wikipedia.org 프로젝트에서 Dog 문서를 포함하는 현재 사용자의 읽기 목록을 가져옵니다
api.php?action=query&meta=readinglists&rlproject=https%3A%2F%2Fen.wikipedia.org&rltitle=Dog [연습장에서 열기]