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=cxpublishedtranslations
- มอดูลนี้ต้องการสิทธิในการอ่าน
- แหล่งที่มา: ContentTranslation
- สัญญาอนุญาต: GPL-2.0-or-later
Fetch all published translations information.
Specific parameters:
Other general parameters are available.
- from
รหัสภาษาต้นทาง
- to
รหัสภาษาปลายทาง
- limit
The maximum number of translations to fetch.
- ชนิด: จำนวนเต็มหรือ max
- The value must be between 1 and 500.
- Default: 500
- offset
เมื่อมีผลลัพธ์เพิ่มเติมพร้อมใช้งาน ใช้ตัวเลือกนี้เพื่อดำเนินการต่อ
- ค่าเริ่มต้น: (ว่าง)
ตัวอย่าง:
- ดึงข้อมูลการแปลที่เผยแพร่แล้วทั้งหมด
- api.php?action=query&list=cxpublishedtranslations [เปิดในกระบะทราย]
- ดึงข้อมูลการแปลที่เผยแพร่แล้วทั้งหมด ที่แปลจากภาษาอังกฤษ
- api.php?action=query&list=cxpublishedtranslations&from=en [เปิดในกระบะทราย]
- ดึงข้อมูลการแปลที่เผยแพร่แล้วทั้งหมด ที่แปลจากภาษาอังกฤษเป็นภาษาสเปน
- api.php?action=query&list=cxpublishedtranslations&from=en&to=es [เปิดในกระบะทราย]