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=chartinfo
(main | chartinfo)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- This module requires read rights.
- Source: Chart
- License: GPL-3.0-or-later
Retrieve current count of how many unique Chart page usages there are. Multiple uses of the same chart on the same page are considered a single use.
Specific parameter:
Other general parameters are available.
- global
Set to true to include all connected wikis instead of the local wiki only.
- Type: boolean (details)
Examples:
- Fetch of the local wiki's charts count.
- api.php?action=chartinfo&formatversion=2&format=jsonfm [open in sandbox]
- Fetch of all wikis' charts count.
- api.php?action=chartinfo&global=0&formatversion=2&format=jsonfm [open in sandbox]