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.
- ရင်းမြစ်: MediaWiki
- လိုင်စင်: GPL-2.0-or-later
Returns all interlanguage links from the given pages.
အထူး ပါရာမီတာများ:
Other general parameters are available.
- 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
- Default: ascending
- llinlanguagecode
Language code for localised language names.
- Default: ksw
- lllimit
How many langlinks to return.
- Type: integer or max
- The value must be between ၁ and ၅၀၀.
- Default: 10
- llcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- llurl
- Deprecated.
Whether to get the full URL (cannot be used with llprop).
- Type: boolean (details)
နမူနာ:
- Get interlanguage links from the page ခဲၣ်လီၤတၢ်လၢပှၤကိးဃုသး!.
- api.php?action=query&prop=langlinks&titles=%E1%80%81%E1%80%B2%E1%81%A3%E1%80%BA%E1%80%9C%E1%80%AE%E1%81%A4%E1%80%90%E1%81%A2%E1%80%BA%E1%80%9C%E1%81%A2%E1%80%95%E1%80%BE%E1%81%A4%E1%80%80%E1%80%AD%E1%80%B8%E1%80%83%E1%80%AF%E1%80%9E%E1%80%B8%21&redirects= [open in sandbox]