API:Langlinks

From MediaWiki.org
Jump to: navigation, search

Gets a list of all language links from the provided pages to other languages.

Parameters[edit]

  • lllimit: How many langlinks to return. No more than 500 (5000 for bots) allowed. (Default: 10) 1.13+
  • llcontinue: When more results are available, use this to continue. 1.13+
  • llurl: Whether to get the full URL. 1.17+ (Deprecated in 1.23)
  • llprop: Which additional properties to get for each interlanguage link. 1.23+
    • url: Adds the full URL. 1.23+
    • langname: Adds the localised language name (best effort, use CLDR extension). Use llinlanguagecode to control the language. 1.23+
    • autonym: Adds the native language name. 1.23+
  • lllang: Language code 1.18+
  • lltitle: Link to search for. Must be used with lllang. 1.18+
  • lldir: The direction in which to list. 1.19+
  • llinlanguagecode: Language code for localised language names. 1.23+

Example[edit]

Get a list of language links en:Albert Einstein has

Possible errors[edit]

None.