API:Iwlinks

From MediaWiki.org
Jump to: navigation, search

Returns all interwiki links from the given page(s).

Parameters[edit]

  • iwprop: Which additional properties to get for each interwiki link: Type: multi-valued string (Default: None) 1.24+
    • url: Add the full URL. (Replaces the deprecated iwurl parameter.) 1.24+
  • iwprefix: Prefix for the interwiki. Type: string 1.18+
  • iwtitle: Interwiki link to search for. Must be used with iwprefix. Type: string 1.18+
  • iwdir: The direction in which to list. Type: string Possible values: ascending, descending. (Default: ascending) 1.19+
  • iwlimit: How many total pages to return. No more than 500 (5000 for bots) allowed. Type: limit (Default: 10)
  • iwcontinue: When more results are available, use this to continue. Type: string
  • iwurl: Whether to get the full URL. Type: boolean (Default: false) (Deprecated in 1.24)

Example[edit]

Get a list of interwiki links en:Albert Einstein has

Possible errors[edit]

Code Info
noprefix The prefix parameter must be set.