Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

(main | query | langlinks)

Returns all interlanguage links from the given pages.

Parameters:
llprop

Which additional properties to get for each interlanguage link:

url
Добавя пълният URL-адрес.
langname
Adds the localised language name (best effort). Use llinlanguagecode to control the language.
autonym
Adds the native language name.
Стойности (разделени с | или алтернативния разделител): 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.

Една от следните стойности: ascending, descending
Default: ascending
llinlanguagecode

Language code for localised language names.

Default: bg
lllimit

How many langlinks to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
llcontinue

When more results are available, use this to continue.

llurl
Непрепоръчителен.

Whether to get the full URL (cannot be used with llprop).

Type: boolean (details)
Пример:
Get interlanguage links from the page Main Page.
api.php?action=query&prop=langlinks&titles=Main%20Page&redirects= [open in sandbox]
Взето от „http:///Специални:ApiHelp“.