MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=langlinks (ll)
- Voor deze module zijn leesrechten nodig.
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
Returns all interlanguage links from the given pages.
Parameters:
- llprop
Which additional properties to get for each interlanguage link:
- url
- Voegt de volledige URL toe.
- langname
- Adds the localised language name (best effort). Use llinlanguagecode to control the language.
- autonym
- Adds the native language name.
- Waarden (gescheiden met | of alternatief): url, langname, autonym
- 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.
- Een van de volgende waarden: ascending, descending
- Standaard: ascending
- llinlanguagecode
Language code for localised language names.
- Standaard: nl
- lllimit
How many langlinks to return.
- Niet meer dan 500 (5.000 voor bots) toegestaan.
- Type: geheel getal of max
- Standaard: 10
- llcontinue
When more results are available, use this to continue.
- llurl
- Verouderd.
Whether to get the full URL (cannot be used with llprop).
- Type: boolean (details)
Voorbeeld:
- Get interlanguage links from the page Main Page.
- api.php?action=query&prop=langlinks&titles=Main%20Page&redirects= [open in de zandbak]