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

(main | query | cxpublishedtranslations)
  • This module requires read rights.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Fetch all published translations information.

Specific parameters:
Other general parameters are available.
from

The source language code.

This parameter is required.
to

The target language code.

This parameter is required.
limit

The maximum number of translations to fetch.

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

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

Default: (empty)
Examples:
Fetch all published translations
api.php?action=query&list=cxpublishedtranslations [open in sandbox]
Fetch all published translations, translated from English
api.php?action=query&list=cxpublishedtranslations&from=en [open in sandbox]
Fetch all published translations, translated from English to Spanish
api.php?action=query&list=cxpublishedtranslations&from=en&to=es [open in sandbox]