MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/API

(main | query | langlinks)
  • このモジュールは読み取りの権限を必要とします。

Returns all interlanguage links from the given pages.

パラメーター:
llprop

Which additional properties to get for each interlanguage link:

url
Adds the full URL.
langname
Adds the localised language name (best effort). Use llinlanguagecode to control the language.
autonym
Adds the native language name.
値 (|で区切る): 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.

値 (いずれか1つ): ascending、descending
既定値: ascending
llinlanguagecode

Language code for localised language names.

既定値: ja
lllimit

How many langlinks to return.

No more than 500 (5,000 for bots) allowed.
既定値: 10
llcontinue

When more results are available, use this to continue.

llurl
廃止予定です。

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

例:
Get interlanguage links from the page Main Page.
api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=