mw tools toolcounter
Releasev0.35.0 · cfeceb67
mw tools toolcounter <tool> [flags]Read the public Toolcounter counts for one tool and page without incrementing them. The page is the identifier used in the site’s embed code, not necessarily a URL; its default is index. For the a Wikimedia CLI documentation site, use a path such as / or /manual/wiki/. Views count page loads; sessions approximate visits per browser tab and are not unique people. Counts cover all time. The documented API does not provide page discovery or historical queries. No login is required.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”mw tools toolcounter a-wikimedia-cli --page /mw tools toolcounter a-wikimedia-cli --page /manual/wiki/ --output jsonmw tools toolcounter example --page index --output jq --format .viewsSee also
Section titled “See also”Page views: —Sessions: —