미디어위키 API 도움말

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

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

action=sitematrix (sm)

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

위키미디어 사이트 목록을 가져옵니다.

코드(기술적으로 dbname/wikiid)는 콘텐츠 프로젝트의 경우 언어 코드 + 프로젝트 코드이며 그 밖의 경우 서브도메인 + 주 도메인입니다.

특정 변수:
다른 일반 변수를 사용할 수 있습니다.
smtype

Filter the Site Matrix by type:

special
One off and multilingual Wikimedia projects.
language
Wikimedia projects under this language code.
값 (|로 구분): language, special 또는 다른 문자열: language, special
기본값: special|language
smstate

Filter the Site Matrix by wiki state.

값 (|로 구분): all, closed, fishbowl, nonglobal, private 또는 다른 문자열: all, closed, fishbowl, nonglobal, private
기본값: all
smlangprop

반환할 언어에 관한 정보입니다.

값 (|로 구분): code, dir, localname, name, site 또는 다른 문자열: code, dir, localname, name, site
기본값: code|name|site|dir|localname
smsiteprop

반환할 사이트에 관한 정보입니다.

값 (|로 구분): code, dbname, lang, sitename, url 또는 다른 문자열: code, dbname, lang, sitename, url
기본값: url|dbname|code|sitename
smlimit

최대 결과 수입니다.

유형: 정수 또는 max
값은 1와 5,000 사이여야 합니다.
기본값: 5000
smcontinue

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