MedijaViki API pagalba

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

(main | query | langlinks)
  • This module requires read rights.
  • Šaltinis: MediaWiki
  • Licencija: GPL-2.0-or-later

Returns all interlanguage links from the given pages.

Parametrai:
llprop

Which additional properties to get for each interlanguage link:

url
Prideda visą 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): url, langname, autonym
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
Numatytasis: ascending
llinlanguagecode

Language code for localised language names.

Numatytasis: lt
lllimit

How many langlinks to return.

Leidžiama ne daugiau nei 500 (5 000 robotams).
Type: integer or max
Numatytasis: 10
llcontinue

When more results are available, use this to continue.

llurl
Deprecated.

Ar gauti visą URL (negali būti naudojamas su llprop).

Type: boolean (details)
Pavyzdys:
Get interlanguage links from the page Main Page.
api.php?action=query&prop=langlinks&titles=Main%20Page&redirects= [open in sandbox]