Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
prop=iwlinks (iw)
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÑоÑник: MediaWiki
- ÐиÑензиÑ: GPL-2.0+
Returns all interwiki links from the given pages.
ÐаÑамеÑÑÑ:
- iwprop
Which additional properties to get for each interlanguage link:
- url
- Adds the full URL.
- Values (separate with |): url
- iwprefix
Only return interwiki links with this prefix.
- iwtitle
Interwiki link to search for. Must be used with iwprefix.
- iwdir
The direction in which to list.
- One value: ascending, descending
- Ðо ÑмолÑаниÑ: ascending
- iwlimit
How many interwiki links to return.
- РазÑеÑено не более Ñем 500 (5000 Ð´Ð»Ñ Ð±Ð¾Ñов).
- Тип: Ñелое ÑиÑло или max
- Ðо ÑмолÑаниÑ: 10
- iwcontinue
Ðогда доÑÑÑпно болÑÑе ÑезÑлÑÑаÑов, иÑполÑзоваÑÑ ÑÑÐ¾Ñ ÑÑÐ¾Ð±Ñ Ð¿ÑодолжиÑÑ.
- iwurl
- УÑÑаÑевÑий.
Whether to get the full URL (cannot be used with iwprop).
- Тип: двоиÑнÑй (details)
ÐÑимеÑ:
- Get interwiki links from the page Main Page.
- api.php?action=query&prop=iwlinks&titles=Main%20Page