MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=extlinks (el)
- Este módulo requiere permisos de lectura.
 - Fuente: MediaWiki
 - Licencia: GPL-2.0+
 
Returns all external URLs (not interwikis) from the given pages.
Parámetros:
- ellimit
 Cuántos enlaces se devolverán.
- No se permite más de 500 (5000 para los bots).
 - Tipo: entero o max
 - Predeterminado: 10
 - eloffset
 Cuando haya más resultados disponibles, utiliza esto para continuar.
- Tipo: entero
 - 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.
- Uno de los siguientes valores: Puede estar vacío, o 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
 - Predeterminado: (vacío)
 - 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.
- Tipo: booleano/lógico (detalles)
 
Ejemplo:
- Obtener una lista de los enlaces externos en Main Page.
 - api.php?action=query&prop=extlinks&titles=Main%20Page [open in sandbox]