Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

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

list=contenttranslationsuggestions

(main | query | contenttranslationsuggestions)
  • Mô đun này cần quyền đọc.
  • This module can be used as a generator.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Get suggestion lists for Content Translation.

Các tham số:
Other general parameters are available.
from

Mã ngôn ngữ gốc.

to

Mã ngôn ngữ đích.

listid

Return suggestions only from a particular list

limit

The maximum number of translation suggestions to fetch.

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

Offset for paginated results.

seed

By default suggestions are returned in random order. If you wish to return each suggestion only once when using limit and offset, you must specify a seed for all the requests.

Type: integer
Ví dụ:
Lấy các trang được gợi ý để dịch từ tiếng Anh (en) sang tiếng Tây Ban Nha (es).
api.php?action=query&list=contenttranslationsuggestions&from=en&to=es [open in sandbox]