MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
prop=extlinks (el)
- このモジュールは読み取りの権限を必要とします。
 - ソース: MediaWiki
 - ライセンス: GPL-2.0-or-later
 
与えられたページにあるすべての外部URL (インターウィキを除く) を返します。
パラメーター:
- ellimit
 返すリンクの数。
- 500(botは5,000)より多くは受け付けません。
 - Type: integer or max
 - 既定値: 10
 - elcontinue
 When more results are available, use this to continue.
- elprotocol
 URLのプロトコル。このパラメータが空であり、かつelquery が設定されている場合, protocol は http となります。すべての外部リンクを一覧表示するためにはこのパラメータと elquery の両方を空にしてください。
- 値 (次の値のいずれか1つ): 空欄にするか、または 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)
 
例:
- Main Page の外部リンクの一覧を取得する。
 - api.php?action=query&prop=extlinks&titles=Main%20Page [サンドボックスで開く]