미디어위키 API 도움말

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

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

prop=info (in)

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

기본 페이지 정보를 가져옵니다.

변수:
inprop

가져올 추가 속성:

protection
각 문서의 보호 수준을 나열합니다.
talkid
The page ID of the talk page for each non-talk page.
watched
List the watched status of each page.
watchers
The number of watchers, if allowed.
visitingwatchers
The number of watchers of each page who have visited recent edits to that page, if allowed.
notificationtimestamp
The watchlist notification timestamp of each page.
subjectid
The page ID of the parent page for each talk page.
associatedpage
The prefixed title of the associated subject or talk page.
url
Gives a full URL, an edit URL, and the canonical URL for each page.
readable
구식입니다. 사용자가 이 문서를 읽을 수 있는지의 여부입니다. intestactions=read를 대신 사용하십시오.
preload
Gives the text returned by EditFormPreloadText.
displaytitle
Gives the manner in which the page title is actually displayed.
varianttitles
모든 종류의 사이트 내용 언어의 표시 제목을 지정합니다.
linkclasses
Gives the additional CSS classes (e.g. link colors) used for links to this page if they were to appear on the page named by inlinkcontext.
값 (|로 구분): associatedpage, displaytitle, linkclasses, notificationtimestamp, preload, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, readable 또는 다른 문자열: associatedpage, displaytitle, linkclasses, notificationtimestamp, preload, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, readable
inlinkcontext

The context title to use when determining extra CSS classes (e.g. link colors) when inprop contains linkclasses.

유형: 문서 제목
존재하지 않는 문서를 허용합니다.
기본값: 대문
intestactions

Test whether the current user can perform certain actions on the page.

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

Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.

boolean
각 동작의 불리언 값을 반환합니다.
full
동작이 허용되지 않는 이유를 설명하는 메시지를 반환하거나, 허용되는 경우에는 비어있는 배열을 반환합니다.
quick
full와 비슷하지만 비용이 많이 드는 검사는 건너뜁니다.
다음 값 중 하나: boolean, full, quick 또는 다른 문자열: boolean, full, quick
기본값: boolean
incontinue

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

예시:
Get information about the page Main Page.
api.php?action=query&prop=info&titles=Main%20Page [연습장에서 열기]
Get general and protection information about the page Main Page.
api.php?action=query&prop=info&inprop=protection&titles=Main%20Page [연습장에서 열기]