미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
prop=info (in)
- 이 모듈은 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.
- 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
- 모든 종류의 사이트 내용 언어의 표시 제목을 지정합니다.
- 값 (|로 구분): displaytitle, notificationtimestamp, preload, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, readable 또는 다른 문자열: displaytitle, notificationtimestamp, preload, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, readable
- 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
- intoken
- 구식입니다.
Use action=query&meta=tokens instead.
- 값 (|로 구분): block, delete, edit, email, import, move, protect, unblock, watch 또는 다른 문자열: block, delete, edit, email, import, move, protect, unblock, watch
- 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 [연습장에서 열기]
list=categorymembers (cm)
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 생성기로 사용할 수 있습니다.
- 출처: MediaWiki
- 라이선스: GPL-2.0-or-later
제시된 분류의 모든 문서를 나열합니다.
- cmtitle
Which category to enumerate (required). Must include the 분류: prefix. Cannot be used together with cmpageid.
- cmpageid
Page ID of the category to enumerate. Cannot be used together with cmtitle.
- Type: integer
- cmprop
Which pieces of information to include:
- ids
- 페이지 ID를 추가합니다.
- title
- 문서의 제목과 이름공간 ID를 추가합니다.
- sortkey
- Adds the sortkey used for sorting in the category (hexadecimal string).
- sortkeyprefix
- Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey).
- type
- Adds the type that the page has been categorised as (page, subcat or file).
- timestamp
- 문서가 포함된 시기의 타임스탬프를 추가합니다.
- 값 (|로 구분): ids, sortkey, sortkeyprefix, timestamp, title, type 또는 다른 문자열: ids, sortkey, sortkeyprefix, timestamp, title, type
- 기본값: ids|title
- cmnamespace
Only include pages in these namespaces. Note that cmtype=subcat or cmtype=file may be used instead of cmnamespace=14 or 6.
- 값 (|로 구분): 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
- 모든 값을 지정하려면, *를 사용하십시오.
- cmtype
Which type of category members to include. Ignored when cmsort=timestamp is set.
- 값 (|로 구분): file, page, subcat 또는 다른 문자열: file, page, subcat
- 기본값: page|subcat|file
- cmcontinue
더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
- cmlimit
반환할 문서의 최대 수입니다.
- 유형: 정수 또는 max
- The value must be between 1 and 500.
- 기본값: 10
- cmsort
Property to sort by.
- 다음 값 중 하나: sortkey, timestamp 또는 다른 문자열: sortkey, timestamp
- 기본값: sortkey
- cmdir
In which direction to sort.
- 다음 값 중 하나: asc, ascending, desc, descending, newer, older 또는 다른 문자열: asc, ascending, desc, descending, newer, older
- 기본값: ascending
- cmstart
Timestamp to start listing from. Can only be used with cmsort=timestamp.
- 유형: 타임스탬프 (허용되는 포맷)
- cmend
Timestamp to end listing at. Can only be used with cmsort=timestamp.
- 유형: 타임스탬프 (허용되는 포맷)
- cmstarthexsortkey
Sortkey to start listing from, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.
- cmendhexsortkey
Sortkey to end listing at, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.
- cmstartsortkeyprefix
Sortkey prefix to start listing from. Can only be used with cmsort=sortkey. Overrides cmstarthexsortkey.
- cmendsortkeyprefix
Sortkey prefix to end listing before (not at; if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendhexsortkey.
- cmstartsortkey
- 구식입니다.
cmstarthexsortkey를 대신 사용해 주십시오.
- cmendsortkey
- 구식입니다.
cmendhexsortkey를 대신 사용해 주십시오.
- Get first 10 pages in Category:Physics.
- api.php?action=query&list=categorymembers&cmtitle=Category:Physics [연습장에서 열기]
- Get page info about first 10 pages in Category:Physics.
- api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info [연습장에서 열기]