Skip to content

mw analytics mediarequests top

Releasev0.35.0 · cfeceb67

mw analytics mediarequests top [flags]

List the most-requested media files

--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.
--media-type <string>
Media type: all-media-types, image, video, audio, document, or other Default: all-media-types.
--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.
--referer <string>
Request origin: Wikimedia project host, all-referers, internal, external, search-engine, unknown, or none Default: all-referers.
--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 mediarequests top --date 20250101 --limit 10
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.