MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=langlinks (ll)
- Ta modul zahteva pravice branja.
- Source: MediaWiki
- License: GPL-2.0-or-later
Vrne vse medjezikovne povezave z danih strani.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- 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.
- Values (separate with | or alternative): autonym, langname, url
- lllang
Only return language links with this language code.
- lltitle
Link to search for. Must be used with lllang.
- lldir
The direction in which to list.
- One of the following values: ascending, descending
- Privzeto: ascending
- llinlanguagecode
Language code for localised language names.
- Privzeto: sl
- lllimit
How many langlinks to return.
- Type: integer or max
- Vrednost mora biti med 1 in 500.
- Privzeto: 10
- llcontinue
Ko bo na voljo več rezultatov, uporabite to za nadaljevanje. Podrobnejše informacije o nadaljevanju poizvedb lahko najdete na mediawiki.org.
- llurl
- Opuščeno.
Whether to get the full URL (cannot be used with llprop).
- Type: boolean (details)
Zgled:
- Pridobi medjezikovne povezave strani Glavna stran.
- api.php?action=query&prop=langlinks&titles=Glavna%20stran&redirects= [open in sandbox]