미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
prop=extracts (ex)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: TextExtracts
 - 라이선스: GPL-2.0-or-later
 
주어진 문서의 플레인 텍스트 또는 제한된 HTML 추출 정보를 반환합니다.
변수:
- exchars
 How many characters to return. Actual text returned might be slightly longer.
- 값은 1와 1,200 사이여야 합니다.
 - 유형: 정수
 - exsentences
 How many sentences to return.
- 값은 1와 10 사이여야 합니다.
 - 유형: 정수
 - exlimit
 How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.)
- 20 초과는 허용되지 않습니다. (봇의 경우 20)
 - 유형: 정수 또는 max
 - 기본값: 20
 - exintro
 Return only content before the first section.
- 유형: 불리언 (자세한 정보)
 - explaintext
 Return extracts as plain text instead of limited HTML.
- 유형: 불리언 (자세한 정보)
 - exsectionformat
 How to format sections in plaintext mode:
- plain
 - No formatting.
 - wiki
 - Wikitext-style formatting (== like this ==).
 - raw
 - This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).
 
- 다음 값 중 하나: plain, wiki, raw 또는 다른 문자열: plain, wiki, raw
 - 기본값: wiki
 - excontinue
 더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
- 유형: 정수
 
예시:
- Get a 175-character extract
 - api.php?action=query&prop=extracts&exchars=175&titles=Therion [연습장에서 열기]