Справка MediaWiki API
Это автоматически сгенерированная страница документации MediaWiki API.
Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=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§ion-titles=true [открыть в песочнице]