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=contenttranslationsuggestions

(main | query | contenttranslationsuggestions)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Get suggestion lists for Content Translation.

Parameters:
from

The source language code.

to

The target language code.

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
Example:
Fetch pages suggested for translation from English (en) to Spanish (es).
api.php?action=query&list=contenttranslationsuggestions&from=en&to=es [open in sandbox]