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)
  • มอดูลนี้ต้องการสิทธิในการอ่าน
  • มอดูลนี้สามารถใช้เป็นตัวสร้างได้
  • แหล่งที่มา: ContentTranslation
  • สัญญาอนุญาต: GPL-2.0-or-later

Query Content Translation database for translations.

Specific parameters:
Other general parameters are available.
translationid

ไอดีการแปล

from

รหัสภาษาต้นทาง

to

รหัสภาษาปลายทาง

sourcetitle

ชื่อเรื่องของหน้าต้นทาง

sourcesectiontitle

The title of the source section (optional).

limit

The maximum number of translations to fetch.

ชนิด: จำนวนเต็มหรือ max
The value must be between 1 and 500.
Default: 100
offset

Offset into result set (optional).

type

สถานะการแปล

ค่าใดค่าหนึ่งต่อไปนี้: draft, published
usecase

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

ค่าใดค่าหนึ่งต่อไปนี้: desktop-editor-draft, translation-corpora-units, unified-dashboard
ตัวอย่าง:
เรียกดูการแปลที่เริ่มขึ้นโดยผู้ใช้ปัจจุบัน
api.php?action=query&list=contenttranslation [เปิดในกระบะทราย]
เรียกดูการแปลฉบับร่างโดยไอดี
api.php?action=query&list=contenttranslation&translationid=94 [เปิดในกระบะทราย]
ค้นหาการแปลใด ๆ สำหรับชื่อเรื่องที่กำหนด ระหว่างคู่ภาษาที่กำหนด
api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [เปิดในกระบะทราย]