MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
prop=langlinks (ll)
- Dieses Modul erfordert Leserechte.
Returns all interlanguage links from the given pages.
Parameter:
- 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.
- Werte (mit | trennen): 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.
- Ein Wert: ascending, descending
- Standard: ascending
- llinlanguagecode
Language code for localised language names.
- Standard: de
- lllimit
How many langlinks to return.
- Nicht mehr als 500 (5.000 für Bots) erlaubt.
- Standard: 10
- llcontinue
When more results are available, use this to continue.
- llurl
- Veraltet.
Whether to get the full URL (cannot be used with llprop).
Beispiel:
- Get interlanguage links from the page Main Page.
- api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=