미디어위키 API 도움말

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

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

action=query

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

미디어위키의 데이터 및 정보를 가져옵니다.

All data modifications will first have to use query to acquire a token to prevent abuse from malicious sites.

변수:
prop

조회된 페이지에 대해 가져올 속성입니다.

categories
문서가 속하는 모든 분류를 나열합니다.
categoryinfo
제시된 분류의 정보를 반환합니다.
contributors
문서에 대해 로그인한 기여자의 목록과 익명 기여자의 수를 가져옵니다.
deletedrevisions
삭제된 판 정보를 가져옵니다.
duplicatefiles
해시 값 기반으로 주어진 파일들 중 중복된 모든 파일을 나열합니다.
extlinks
제시된 문서의 모든 외부 URL(인터위키 아님)을 반환합니다.
fileusage
제시된 파일을 사용하는 모든 문서를 찾습니다.
imageinfo
파일 정보와 업로드 역사를 반환합니다.
images
제시된 문서에 포함된 모든 파일을 반환합니다.
info
기본 페이지 정보를 가져옵니다.
iwlinks
제시된 문서의 모든 인터위키 링크를 반환합니다.
langlinks
제시된 문서의 모든 언어 간 링크를 반환합니다.
links
제시된 문서의 모든 링크를 반환합니다.
linkshere
제시된 문서에 연결된 모든 문서를 찾습니다.
mmcontent
Get the description and targets of a spamlist
pageprops
문서 내용에 정의된 다양한 문서 속성을 가져옵니다.
redirects
제시된 문서의 모든 넘겨주기를 반환합니다.
revisions
판 정보를 가져옵니다.
stashimageinfo
Returns file information for stashed files.
templates
제시된 문서에 끼워넣은 모든 문서를 반환합니다.
transcludedin
제시된 문서를 끼워넣은 모든 문서를 찾습니다.
값 (|로 구분): categories, categoryinfo, contributors, deletedrevisions, duplicatefiles, extlinks, fileusage, imageinfo, images, info, iwlinks, langlinks, links, linkshere, mmcontent, pageprops, redirects, revisions, stashimageinfo, templates, transcludedin 또는 다른 문자열: categories, categoryinfo, contributors, deletedrevisions, duplicatefiles, extlinks, fileusage, imageinfo, images, info, iwlinks, langlinks, links, linkshere, mmcontent, pageprops, redirects, revisions, stashimageinfo, templates, transcludedin
list

가져올 목록입니다.

allcategories
모든 분류를 열거합니다.
alldeletedrevisions
사용자에 의해서나 이름공간 안에서 삭제된 모든 판을 나열합니다.
allfileusages
존재하지 않는 것을 포함하여 파일을 사용하는 모든 문서를 나열합니다.
allimages
모든 그림을 순차적으로 열거합니다.
alllinks
제시된 이름공간을 가리키는 모든 링크를 열거합니다.
allpages
제시된 이름공간의 모든 문서를 순서대로 열거합니다.
allredirects
이름공간의 모든 넘겨주기를 나열합니다.
allrevisions
모든 판 표시.
alltransclusions
존재하지 않는 문서를 포함하여 끼워넣은 모든 문서({{x}}를 사용하여 끼워넣은 문서)를 나열합니다.
allusers
등록된 모든 사용자를 열거합니다.
backlinks
제시된 문서에 연결된 모든 문서를 찾습니다.
blocks
차단된 모든 사용자와 IP 주소를 나열합니다.
categorymembers
제시된 분류의 모든 문서를 나열합니다.
embeddedin
제시된 문서를 끼워넣은 모든 문서를 찾습니다.
exturlusage
제시된 URL을 포함하는 문서를 열거합니다.
filearchive
삭제된 모든 파일을 순서대로 열거합니다.
imageusage
제시된 그림 제목을 사용하는 모든 문서를 찾습니다.
iwbacklinks
제시된 인터위키 링크에 연결된 모든 문서를 찾습니다.
langbacklinks
제시된 언어 링크에 연결된 모든 문서를 찾습니다.
logevents
기록에서 이벤트를 가져옵니다.
mystashedfiles
Get a list of files in the current user's upload stash.
pagepropnames
위키에서 사용 중인 모든 문서 속성 이름을 나열합니다.
pageswithprop
제시된 문서 속성을 사용하는 모든 문서를 나열합니다.
prefixsearch
문서 제목에 대해 두문자 검색을 수행합니다.
protectedtitles
작성이 보호된 모든 제목을 나열합니다.
querypage
QueryPage 기반 특수 문서가 제공하는 목록을 가져옵니다.
random
임의 문서 집합을 가져옵니다.
recentchanges
최근 바뀜을 열거합니다.
search
전문 검색을 수행합니다.
tags
List change tags.
usercontribs
한 사용자의 모든 편집을 가져옵니다.
users
사용자 목록에 대한 정보를 가져옵니다.
watchlist
현재 사용자의 주시목록의 문서의 최근 바뀜을 가져옵니다.
watchlistraw
현재 사용자의 주시문서 목록의 모든 문서를 가져옵니다.
deletedrevs
구식입니다. 삭제된 판을 나열합니다.
값 (|로 구분): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, allusers, backlinks, blocks, categorymembers, embeddedin, exturlusage, filearchive, imageusage, iwbacklinks, langbacklinks, logevents, mystashedfiles, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist, watchlistraw, deletedrevs 또는 다른 문자열: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, allusers, backlinks, blocks, categorymembers, embeddedin, exturlusage, filearchive, imageusage, iwbacklinks, langbacklinks, logevents, mystashedfiles, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist, watchlistraw, deletedrevs
meta

가져올 메타데이터입니다.

allmessages
이 사이트에서 반환할 메시지.
authmanagerinfo
현재의 인증 상태에 대한 정보를 검색합니다.
filerepoinfo
위키에 구성된 그림 저장소에 대한 메타 정보를 반환합니다.
languageinfo
사용 가능한 언어의 정보를 반환합니다.
siteinfo
사이트의 전반적인 정보를 반환합니다.
tokens
Gets tokens for data-modifying actions.
userinfo
현재 사용자의 정보를 가져옵니다.
값 (|로 구분): allmessages, authmanagerinfo, filerepoinfo, languageinfo, siteinfo, tokens, userinfo 또는 다른 문자열: allmessages, authmanagerinfo, filerepoinfo, languageinfo, siteinfo, tokens, userinfo
indexpageids

반환된 모든 페이지 ID를 나열하는 부가적인 페이지 ID 섹션을 포함합니다.

Type: boolean (details)
export

기존의 페이지나 생성된 페이지들 전체의 현재 판들을 내보냅니다.

Type: boolean (details)
exportnowrap

XML 결과물로 래핑하지 않고 내보내기 XML을 반환합니다 (Special:Export와 동일한 형식). query+export와만 같이 사용할 수 있습니다.

Type: boolean (details)
exportschema

Target the given version of the XML dump format when exporting. Can only be used with query+export.

다음 값 중 하나: 0.10, 0.11 또는 다른 문자열: 0.10, 0.11
기본값: 0.11
iwurl

제목이 인터위키 링크인 경우 전체 URL을 가져올지의 여부입니다.

Type: boolean (details)
continue

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

rawcontinue

계속하기 위해 순수 query-continue 데이터를 반환합니다.

Type: boolean (details)
titles

작업할 제목의 목록입니다.

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

작업할 페이지 ID의 목록입니다.

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

작업할 판 ID의 목록입니다.

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

특정 쿼리 모듈을 실행함으로써 작업할 페이지의 목록입니다.

참고: 발생기 변수명은 "g"로 시작해야 합니다. 예시를 참고하십시오.

allcategories
모든 분류를 열거합니다.
alldeletedrevisions
사용자에 의해서나 이름공간 안에서 삭제된 모든 판을 나열합니다.
allfileusages
존재하지 않는 것을 포함하여 파일을 사용하는 모든 문서를 나열합니다.
allimages
모든 그림을 순차적으로 열거합니다.
alllinks
제시된 이름공간을 가리키는 모든 링크를 열거합니다.
allpages
제시된 이름공간의 모든 문서를 순서대로 열거합니다.
allredirects
이름공간의 모든 넘겨주기를 나열합니다.
allrevisions
모든 판 표시.
alltransclusions
존재하지 않는 문서를 포함하여 끼워넣은 모든 문서({{x}}를 사용하여 끼워넣은 문서)를 나열합니다.
backlinks
제시된 문서에 연결된 모든 문서를 찾습니다.
categories
문서가 속하는 모든 분류를 나열합니다.
categorymembers
제시된 분류의 모든 문서를 나열합니다.
deletedrevisions
삭제된 판 정보를 가져옵니다.
duplicatefiles
해시 값 기반으로 주어진 파일들 중 중복된 모든 파일을 나열합니다.
embeddedin
제시된 문서를 끼워넣은 모든 문서를 찾습니다.
exturlusage
제시된 URL을 포함하는 문서를 열거합니다.
fileusage
제시된 파일을 사용하는 모든 문서를 찾습니다.
images
제시된 문서에 포함된 모든 파일을 반환합니다.
imageusage
제시된 그림 제목을 사용하는 모든 문서를 찾습니다.
iwbacklinks
제시된 인터위키 링크에 연결된 모든 문서를 찾습니다.
langbacklinks
제시된 언어 링크에 연결된 모든 문서를 찾습니다.
links
제시된 문서의 모든 링크를 반환합니다.
linkshere
제시된 문서에 연결된 모든 문서를 찾습니다.
pageswithprop
제시된 문서 속성을 사용하는 모든 문서를 나열합니다.
prefixsearch
문서 제목에 대해 두문자 검색을 수행합니다.
protectedtitles
작성이 보호된 모든 제목을 나열합니다.
querypage
QueryPage 기반 특수 문서가 제공하는 목록을 가져옵니다.
random
임의 문서 집합을 가져옵니다.
recentchanges
최근 바뀜을 열거합니다.
redirects
제시된 문서의 모든 넘겨주기를 반환합니다.
revisions
판 정보를 가져옵니다.
search
전문 검색을 수행합니다.
templates
제시된 문서에 끼워넣은 모든 문서를 반환합니다.
transcludedin
제시된 문서를 끼워넣은 모든 문서를 찾습니다.
watchlist
현재 사용자의 주시목록의 문서의 최근 바뀜을 가져옵니다.
watchlistraw
현재 사용자의 주시문서 목록의 모든 문서를 가져옵니다.
다음 값 중 하나: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw 또는 다른 문자열: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
redirects

query+titles, query+pageids, query+revidsquery+generator가 반환한 문서들의 넘겨주기를 자동으로 결정합니다.

Type: boolean (details)
converttitles

필요하면 제목을 다른 형태로 변환합니다. 위키의 내용 언어가 형태 변환을 지원하는 경우에만 동작합니다. 형태 변환을 지원하는 언어는 ban, en, crh, gan, iu, kk, ku, sh, shi, sr, tg, tly, uz, zh을(를) 포함합니다.

Type: boolean (details)