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

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

Query Content Translation database for numbers of translations by period of time.

Specific parameters:
Other general parameters are available.
source

The source language code.

target

The target language code.

interval

The interval for calculating the trend. Can be week or month.

One of the following values: month, week
Default: week
Examples:
Fetch the publishing trend for the language pair es-ca with weekly intervals
api.php?action=query&list=contenttranslationlangtrend&source=es&target=ca&interval=week [open in sandbox]
Fetch the publishing trend for all languages
api.php?action=query&list=contenttranslationlangtrend [open in sandbox]