미디어위키 API 도움말

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

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

list=search (sr)

(main | query | search)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 생성기로 사용할 수 있습니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0-or-later

전문 검색을 수행합니다.

변수:
srsearch

Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki's search backend implements.

이 변수는 필수 입력 사항입니다.
srnamespace

Search only within these namespaces.

값 (|로 구분): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303 또는 alternative: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
모든 값을 지정하려면, *를 사용하십시오.
기본값: 0
srlimit

How many total pages to return.

500 초과는 허용되지 않습니다. (봇의 경우 5,000)
유형: 정수 또는 max
기본값: 10
sroffset

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

유형: 정수
기본값: 0
srwhat

Which type of search to perform.

다음 값 중 하나: title, text, nearmatch 또는 alternative: title, text, nearmatch
srinfo

Which metadata to return.

값 (|로 구분): totalhits, suggestion, rewrittenquery 또는 alternative: totalhits, suggestion, rewrittenquery
기본값: totalhits|suggestion|rewrittenquery
srprop

Which properties to return:

size
바이트 단위로 문서의 크기를 추가합니다.
wordcount
문서의 낱말 수를 추가합니다.
timestamp
문서가 마지막으로 편집된 시기의 타임스탬프를 추가합니다.
snippet
Adds a parsed snippet of the page.
titlesnippet
Adds a parsed snippet of the page title.
redirecttitle
Adds the title of the matching redirect.
redirectsnippet
Adds a parsed snippet of the redirect title.
sectiontitle
Adds the title of the matching section.
sectionsnippet
Adds a parsed snippet of the matching section title.
isfilematch
Adds a boolean indicating if the search matched file content.
categorysnippet
Adds a parsed snippet of the matching category.
score
구식입니다. 무시됨.
hasrelated
구식입니다. 무시됨.
extensiondata
Adds extra data generated by extensions.
값 (|로 구분): size, wordcount, timestamp, snippet, titlesnippet, redirecttitle, redirectsnippet, sectiontitle, sectionsnippet, isfilematch, categorysnippet, score, hasrelated, extensiondata 또는 alternative: size, wordcount, timestamp, snippet, titlesnippet, redirecttitle, redirectsnippet, sectiontitle, sectionsnippet, isfilematch, categorysnippet, score, hasrelated, extensiondata
기본값: size|wordcount|timestamp|snippet
srinterwiki

Include interwiki results in the search, if available.

유형: 불리언 (자세한 정보)
srenablerewrites

Enable internal query rewriting. Some search backends can rewrite the query into another which is thought to provide better results, for instance by correcting spelling errors.

유형: 불리언 (자세한 정보)