MediaWiki API 說明
此頁為自動產生的 MediaWiki API 說明文件頁面。
說明文件與範例:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=searchtranslations
(main | searchtranslations)
- 此模組需要讀取權限。
- 來源:翻譯(Translate)
- 授權條款:GPL-2.0-or-later
搜尋譯文。
具體參數:
其他通用參數可用。
- service
可供使用的翻譯服務。
- 單值:
- query
欲搜尋的字串。
- 此為必填參數。
- sourcelanguage
原始文字的語言碼。
- 預設值:zh-tw
- language
要搜尋字串的語言代碼。
- 預設值:(空)
- group
要搜尋字串的群組ID。參見action=query&meta=messagegroups。
- 預設值:(空)
- filter
訊息譯文狀態篩選器。
- 單值:可以留空,或是fuzzy、translated、untranslated
- 預設值:(空)
- match
符合任何/所有搜尋文字。
- 預設值:(空)
- case
區分大小寫搜尋。
- 預設值:0
- offset
譯文起始值
- 類型:整數
- 預設值:0
- limit
結果的大小。
- 類型:整數或max
- 數值必須在 1 與 50 之間。
- 預設值:25