미디어위키 API 도움말

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

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

list=prefixsearch (ps)

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

문서 제목에 대해 두문자 검색을 수행합니다.

Despite the similarity in names, this module is not intended to be equivalent to Special:PrefixIndex; for that, see action=query&list=allpages with the apprefix parameter. The purpose of this module is similar to action=opensearch: to take user input and provide the best-matching titles. Depending on the search engine backend, this might include typo correction, redirect avoidance, or other heuristics.

변수:
pssearch

문자열 검색

이 변수는 필수입니다.
psnamespace

검색할 이름공간입니다. pssearch이 유효한 이름공간 접두사로 시작하면 무시합니다.

값 (|로 구분): 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
모든 값을 지정하려면, *를 사용하십시오.
기본값: 0
pslimit

반환할 결과의 최대 수

유형: 정수 또는 max
The value must be between 1 and 500.
기본값: 10
psoffset

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

Type: integer
기본값: 0
예시:
Search for page titles beginning with meaning.
api.php?action=query&list=prefixsearch&pssearch=meaning [연습장에서 열기]