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

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

Get the section-aligned parallel text for a given translation. See also list=cxpublishedtranslations. Dumps are provided in different formats for high volume access.

Specific parameters:
Other general parameters are available.
translationid

ID of the translation.

This parameter is required.
Type: integer
striphtml

Whether to strip all HTML tags to return plaintext.

Type: boolean (details)
types

By default you will get all three of following if available: source text, machine translation and the postedited translation by the user. This parameter allows you not return some of these types.

Values (separate with | or alternative): mt, source, user
Default: source|mt|user