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

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

Archwiliwch gronfa ddata'r Cymhorthydd am gyfieithiadau.

Specific parameters:
Other general parameters are available.
translationid

ID y cyfieithiad

from

Cod yr iaith ffynhonnell.

to

Cod yr iaith darged.

sourcetitle

Teitl y dudalen ffynhonnell.

sourcesectiontitle

The title of the source section (optional).

limit

Uchafwsm y cyfieithiadau i'w cyrchu.

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

Offset into result set (optional).

type

Cyflwr y cyfieithiad.

One of the following values: draft, published
Default: draft
usecase

The usecase for which the translations are being fetched (optional).

One of the following values: desktop-editor-draft, translation-corpora-units, unified-dashboard
Examples:
Cyrchu'r cyfieithiadau a gychwynwyd gan y defnyddiwr.
api.php?action=query&list=contenttranslation [open in sandbox]
Cyrchu'r cyfieithiadau o ran yr ID.
api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
Find any translation for the given title between given language pair
api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]