Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=contenttranslationcorpora

(main | query | contenttranslationcorpora)
  • Ten moduł wymaga praw odczytu.
  • Źródło: ContentTranslation
  • Licencja: 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.

Parametry:
translationid

Identyfikator tłumaczenia.

Ten parametr jest wymagany.
Typ: liczba całkowita
striphtml

Whether to strip all HTML tags to return plaintext.

Typ: wartość boolowska (szczegóły)
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.

Wartości (oddziel za pomocą | lub alternatywy): mt, source, user
Domyślnie: source|mt|user