Skip to content

mw analytics top-pages

Releasev0.35.0 · cfeceb67

mw analytics top-pages [flags]

List the most-viewed pages

--access <string>
Access: all-access, desktop, mobile-web, or mobile-app Default: all-access.
--date <string>
Day in YYYYMMDD format (default: latest available in the past 7 days)
--format <string>
Format the specified output
--graph-width <int>
Graph width in columns (0 detects the terminal; otherwise 24–1000)
--limit <int>
Maximum results after offset (0 means all remaining results) Default: 20.
--month <string>
Whole month in YYYYMM format, instead of --date
--offset <int>
Skip this many results before applying --limit
-o, --output <string>
Output format (csv|graph|jq|json|table) Default: auto.
--project <string>
Wikimedia project host, for example en.wikipedia.org Default: en.wikipedia.org.
--timeout <duration>
HTTP request timeout Default: 20s.
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw analytics top-pages --project en.wikipedia.org --date 20250101
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.