미디어위키 API 도움말

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

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

prop=extracts (ex)

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

주어진 문서의 플레인 텍스트 또는 제한된 HTML 추출 정보를 반환합니다.

변수:
exchars

How many characters to return. Actual text returned might be slightly longer.

Type: integer
The value must be between 1 and 1,200.
exsentences

How many sentences to return.

Type: integer
The value must be between 1 and 10.
exlimit

How many extracts to return. (Multiple extracts can only be returned if exintro is set to true.)

유형: 정수 또는 max
The value must be between 1 and 20.
기본값: 20
exintro

Return only content before the first section.

Type: boolean (details)
explaintext

Return extracts as plain text instead of limited HTML.

Type: boolean (details)
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, raw, wiki 또는 다른 문자열: plain, raw, wiki
기본값: wiki
excontinue

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

Type: integer