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
meta=featureusage (afu)
- This module requires read rights.
- Source: ApiFeatureUsage
- License: GPL-2.0-or-later
Get a summary of logged API feature usages for a user agent.
Specific parameters:
Other general parameters are available.
- afustart
Start of date range to query.
- Type: timestamp (allowed formats)
- afuend
End of date range to query.
- Type: timestamp (allowed formats)
- afuagent
User agent to query. If not specified, the agent in the request will be queried.
- afufeatures
If specified, return details on only these features.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Example:
- Query feature usage for the current user agent
- api.php?action=query&meta=featureusage [open in sandbox]