Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=translationstats

(main | translationstats)
  • Este módulo requiere permisos de lectura.
  • Fuente: Traducir
  • Licencia: GPL-2.0-or-later

Fetch translation statistics

Parámetros específicos:
Other general parameters are available.
count

Type of statistics being requested

Este parámetro es obligatorio.
Uno de los siguientes valores: edits, registrations, reviewers, reviews, users
days

Number of days to fetch statistics for

Este parámetro es obligatorio.
Tipo: entero
The value must be between 1 and 10 000.
Predeterminado: 30
group

List of groups to fetch statistics for.

Separar los valores con | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
language

List of languages to fetch statistics for.

Separar los valores con | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
scale

Scale of the translation statistics

Uno de los siguientes valores: days, hours, months, weeks, years
Predeterminado: days
start

Starting date from which to fetch translation statistics. Defaults to current date minus the number of days.

Tipo: timestamp (formatos permitidos)
Ejemplos:
Fetch edit count for the last 30 days, for all groups and languages
api.php?action=translationstats&count=edits&days=30 [abrir en la zona de pruebas]
Fetch edit count for the last 30 days, for languages English and French.
api.php?action=translationstats&count=edits&days=30&language=en|fr [abrir en la zona de pruebas]