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
action=contributionanalytics
(main | contributionanalytics)
- This module requires read rights.
- Source: ContributionAnalytics
- License: GPL-3.0-or-later
Get cached historical contribution analytics.
Specific parameters:
Other general parameters are available.
- metric
Metric to return.
- One of the following values: editors, edits, threshold
- Default: edits
- bucket
Date bucket.
- One of the following values: day, month
- Default: month
- start
Start date in YYYY-MM-DD.
- Default: 2025-11-14
- end
End date in YYYY-MM-DD.
- Default: 2026-11-14
- threshold
Minimum edits per bucket for threshold mode.
- Type: integer
- The value must be no less than 1.
- Default: 10
Example:
- Get monthly counts of users with at least five edits in 2024.
- api.php?action=contributionanalytics&metric=threshold&bucket=month&threshold=5&start=2024-01-01&end=2024-12-31 [open in sandbox]