미디어위키 API 도움말

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

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

(main | query | links)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 생성기로 사용할 수 있습니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0-or-later

제시된 문서의 모든 링크를 반환합니다.

변수:
plnamespace

Show links in these namespaces only.

값 (|로 구분): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 420, 421 또는 다른 문자열: -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 420, 421
모든 값을 지정하려면, *를 사용하십시오.
pllimit

How many links to return.

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

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

pltitles

Only list links to these titles. Useful for checking whether a certain page links to a certain title.

| 또는 대안으로 값을 구분합니다.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pldir

The direction in which to list.

다음 값 중 하나: ascending, descending 또는 다른 문자열: ascending, descending
기본값: ascending
예시:
Get links from the page Main Page
api.php?action=query&prop=links&titles=Main%20Page [연습장에서 열기]
Get information about the link pages in the page Main Page.
api.php?action=query&generator=links&titles=Main%20Page&prop=info [연습장에서 열기]
Get links from the page Main Page in the 사용자 and 틀 namespaces.
api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10 [연습장에서 열기]