Nápověda k MediaWiki API

Toto je automaticky generovaná dokumentační stránka k MediaWiki API.

Dokumentace a příklady: https://www.mediawiki.org/wiki/API

(main | query | iwlinks)
  • Tento modul vyžaduje oprávnění ke čtení.
  • Zdroj: MediaWiki
  • Licence: GPL-2.0-or-later

Returns all interwiki links from the given pages.

Parametry:
iwprop

Which additional properties to get for each interwiki link:

url
Adds the full URL.
Hodnoty (oddělené | nebo alternativou.): url
iwprefix

Zobrazit pouze interwiki odkazy s tímto prefixem.

iwtitle

Interwiki odkaz, který se má hledat. Musí se použít spolu s iwprefix.

iwdir

The direction in which to list.

Jedna z následujících hodnot: ascending, descending
Default: ascending
iwlimit

Počet interwiki odkazů k zobrazení.

Type: integer or max
The value must be between 1 and 500.
Default: 10
iwcontinue

When more results are available, use this to continue.

iwurl
Zastaralý.

Whether to get the full URL (cannot be used with iwprop).

Type: boolean (details)
Příklad:
Get interwiki links from the page Main Page.
api.php?action=query&prop=iwlinks&titles=Main%20Page [otevřít v pískovišti]