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
prop=langlinks (ll)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: MediaWiki
- Licence: GPL-2.0+
Zobrazit všechny mezijazykové odkazy z daných stránek.
Parametry:
- llprop
- Which additional properties to get for each interlanguage link: - url
- Adds the full URL.
- langname
- Adds the localised language name (best effort). Use llinlanguagecode to control the language.
- autonym
- Adds the native language name.
 
- Hodnoty (oddělené | nebo alternativou.): url, langname, autonym
- lllang
- Zobrazit pouze jazykové odkazy s tímto kódem jazyka. 
- lltitle
- Link to search for. Must be used with lllang. 
- lldir
- The direction in which to list. 
- Jedna z následujících hodnot: ascending, descending
- Implicitní hodnota: ascending
- llinlanguagecode
- Language code for localised language names. 
- Implicitní hodnota: cs
- lllimit
- How many langlinks to return. 
- Není dovoleno více než 500 (5 000 pro boty).
- Type: integer or max
- Implicitní hodnota: 10
- llcontinue
- When more results are available, use this to continue. 
- llurl
- Zastaralý.
- Whether to get the full URL (cannot be used with llprop). 
- Typ: boolean (podrobnosti)
Příklad:
- Get interlanguage links from the page Main Page.
- api.php?action=query&prop=langlinks&titles=Main%20Page&redirects= [otevřít v pískovišti]