Довідка API MediaWiki

Це автоматично генерована сторінка документації API MediaWiki.

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

list=automatictranslationdenselanguages

(main | query | automatictranslationdenselanguages)
  • Цей модуль вимагає прав на читання.
  • Джерело: ContentTranslation
  • Ліцензія: GPL-2.0-or-later

Fetch the list of sitelinks for the article that corresponds to a given Wikidata ID, ordered by article size.

Конкретні параметри:
Other general parameters are available.
qid

The Wikidata ID.

Цей параметр є обов'язковим.
section-titles

A boolean value indicating whether the section titles should be included in the response.

Тип: логічний (подробиці)
limit

The maximum number of sitelinks to fetch.

Тип: ціле число
Стандартно: 15
Приклади:
Fetch the list of sitelinks for the 'Moon' article in all available languages, sorted by article size.
api.php?action=query&list=automatictranslationdenselanguages&qid=Q405&limit=15 [відкрити в пісочниці]
Fetch the list of sitelinks for the 'Moon' article, including the section titles, in all available languages, sorted by article size.
api.php?action=query&list=automatictranslationdenselanguages&qid=Q405&section-titles=true [відкрити в пісочниці]