MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

list=contenttranslationsuggestions

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

Get suggestion lists for Content Translation.

Parameters:
from

The source language code.

This parameter is required.
to

The target language code.

This parameter is required.
listid

Return suggestions only from a particular list

limit

The maximum number of translation suggestions to fetch.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
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]