Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

list=automatictranslationdenselanguages

(main | query | automatictranslationdenselanguages)
  • Modul ini memerlukan hak membaca.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

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

Parameter:
Other general parameters are available.
qid

The Wikidata ID.

This parameter is required.
section-titles

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

Type: boolean (details)
limit

The maximum number of sitelinks to fetch.

Type: integer
Default: 15
Contoh-contoh:
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 [open in sandbox]
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 [open in sandbox]