MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=contenttranslation

mainquerycontenttranslation
  • 此模組需要讀取權限。
  • 來源:ContentTranslation
  • 授權條款:GPL-2.0-or-later

查詢內容翻譯資料庫的翻譯。

具體參數:
其他通用參數可用。
translationid

翻譯 ID。

from

來源語言代碼。

to

目標語言代碼。

sourcetitle

來源頁面標題。

sourcesectiontitle

來源章節的標題(可選)。

limit

要取得的翻譯數量上限。

類型:整數或max
數值必須在 一 與 五〇〇 之間。
預設值:100
offset

結果集合的偏移(可選)。

type

翻譯的狀態。

單值:draft、published
預設值:draft
usecase

所取得翻譯的使用案例(可選)。

單值:desktop-editor-draft、translation-corpora-units、unified-dashboard