미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=extlinks (el)
- 이 모듈은 read 권한을 요구합니다.
- 출처: MediaWiki
- 라이선스: GPL-2.0-or-later
제시된 문서의 모든 외부 URL(인터위키 아님)을 반환합니다.
변수:
- ellimit
반환할 링크의 수.
- 유형: 정수 또는 max
- The value must be between 1 and 500.
- 기본값: 10
- elcontinue
더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
- elprotocol
Protocol of the URL. If empty and elquery is set, the protocol is http. Leave both this and elquery empty to list all external links.
- 다음 값 중 하나: Can be empty, or bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp 또는 다른 문자열: Can be empty, or bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
- 기본값: (비어 있음)
- elquery
Search string without protocol. Useful for checking whether a certain page contains a certain external url.
- elexpandurl
Expand protocol-relative URLs with the canonical protocol.
- Type: boolean (details)
예시:
- Get a list of external links on Main Page.
- api.php?action=query&prop=extlinks&titles=Main%20Page [연습장에서 열기]