Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/API
action=translationstats
(main | translationstats)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: Preložiť
- Licence: GPL-2.0-or-later
Fetch translation statistics
Parametry:
- count
- Type of statistics being requested 
- This parameter is required.
- Jedna z následujících hodnot: edits, registrations, reviewers, reviews, users
- days
- Number of days to fetch statistics for 
- This parameter is required.
- Type: integer
- The value must be between 1 and 10 000.
- Default: 30
- group
- List of groups to fetch statistics for. 
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- language
- List of languages to fetch statistics for. 
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- scale
- Scale of the translation statistics 
- Jedna z následujících hodnot: days, hours, months, weeks, years
- Default: days
- start
- Starting date from which to fetch translation statistics. Defaults to current date minus the number of days. 
- Type: timestamp (allowed formats)
Příklady:
- Fetch edit count for the last 30 days, for all groups and languages
- api.php?action=translationstats&count=edits&days=30 [otevřít v pískovišti]
- Fetch edit count for the last 30 days, for languages English and French.
- api.php?action=translationstats&count=edits&days=30&language=en|fr [otevřít v pískovišti]