MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=contenttranslation

(main | query | contenttranslation)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Kueri basis data Terjemahan Konten untuk mencari terjemahan.

Specific parameters:
Other general parameters are available.
translationid

ID terjemahan.

from

Kode bahasa sumber

to

Kode bahasa tujuan

sourcetitle

Judul halaman sumber.

sourcesectiontitle

The title of the source section (optional).

limit

Maksimum banyaknya terjemahan yang akan diambil.

Type: integer or max
The value must be between 1 and 500.
Default: 100
offset

Ofset dalam himpunan hasil (opsional).

type

Kondisi terjemahan.

One of the following values: draft, published
usecase

The usecase for which the translations are being fetched (optional).

One of the following values: desktop-editor-draft, translation-corpora-units, unified-dashboard
Examples:
Dapatkan terjemahan yang dimulai oleh pengguna terpilih.
api.php?action=query&list=contenttranslation [open in sandbox]
Dapatkan konsep terjemahan berdasarkan id.
api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
Cari terjemahan apa pun dengan judul yang diberikan di antara pasangan bahasa yang diberikan
api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]