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)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns all interlanguage links from the given pages.
Specific parameters:
Other general parameters are available.
- llprop
Millised lisaatribuudid iga intervikilingi kohta hankida:
- 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
Järjestuse suund.
- One of the following values: ascending, descending
- Default: ascending
- llinlanguagecode
Language code for localised language names.
- Default: et
- lllimit
Kui palju keelelinke tagastada.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- llcontinue
Kui saadaval on rohkem tulemusi, kasuta seda jätkamiseks. Täpsema teabe päringute jätkamise kohta leiad mediawiki.org-ist
- llurl
- Deprecated.
Whether to get the full URL (cannot be used with llprop).
- Type: boolean (details)
Example:
- Get interlanguage links from the page Esileht.
- api.php?action=query&prop=langlinks&titles=Esileht&redirects= [open in sandbox]