MediaWiki-API-Hilfe

Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.

Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de

(main | query | extlinks)
  • Dieses Modul erfordert Leserechte.
  • Quelle: MediaWiki
  • Lizenz: GPL-2.0+

Gebe alle externen URLs (nicht Interwiki) der angegebenen Seiten zurück.

Parameter:
ellimit

Wie viele Links zurückgegeben werden sollen.

Nicht mehr als 500 (5.000 für Bots) erlaubt.
Typ: Ganzzahl oder max
Standard: 10
eloffset

Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden.

Typ: Ganzzahl
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.

Einer der folgenden Werte: Kann leer sein oder 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
Standard: (leer)
elquery

Suchbegriff ohne Protokoll. Nützlich um zu prüfen, ob eine bestimmte Seite eine bestimmte externe URL enthält.

elexpandurl

Expand protocol-relative URLs with the canonical protocol.

Typ: boolisch (Einzelheiten)
Beispiel:
Rufe eine Liste erxterner Verweise auf Main Page ab.
api.php?action=query&prop=extlinks&titles=Main%20Page [in Spielwiese öffnen]