MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=translationstats

(main | translationstats)

Fetch translation statistics

Parameters:
count

Type of statistics being requested

This parameter is required.
One of the following values: edits, users, reviews, reviewers, registrations
days

Number of days to fetch statistics for

This parameter is required.
The value must be between 1 and 1,000.
Type: integer
Default: 30
group

List of groups to fetch statistics for.

Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
language

List of languages to fetch statistics for.

Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
scale

Scale of the translation statistics

One of the following values: months, weeks, days, hours
Default: days
start

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

Type: timestamp (allowed formats)
Examples:
Fetch edit count for the last 30 days, for all groups and languages
api.php?action=translationstats&count=edits&days=30 [open in sandbox]
Fetch edit count for the last 30 days, for languages English and French.
api.php?action=translationstats&count=edits&days=30&language=en|fr [open in sandbox]
ดึงข้อมูลจาก "https://wiki.thnic.or.th/th/พิเศษ:ApiHelp"