미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
prop=langlinks (ll)
- 이 모듈은 read 권한을 요구합니다.
- 출처: MediaWiki
- 라이선스: GPL-2.0+
Returns all interlanguage links from the given pages.
변수:
- llprop
Which additional properties to get for each interlanguage link:
- url
- Adds the full URL.
- langname
- Adds the localised language name (best effort). Use llinlanguagecode to control the language.
- autonym
- Adds the native language name.
- 값 ("|"로 구분): url, langname, autonym
- lllang
Only return language links with this language code.
- lltitle
Link to search for. Must be used with lllang.
- lldir
The direction in which to list.
- 하나의 값: ascending, descending
- 기본값: ascending
- llinlanguagecode
Language code for localised language names.
- 기본값: ko
- lllimit
How many langlinks to return.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- 기본값: 10
- llcontinue
When more results are available, use this to continue.
- llurl
- 사용 중지됨.
Whether to get the full URL (cannot be used with llprop).
- 유형: 부울 (자세한 정보)
예시:
- Get interlanguage links from the page Main Page.
- api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=