mw analytics new-pages [flags]
Get the number of newly created pages. Start and end dates are inclusive and use UTC; periods without activity may be omitted by the API.
--editor-type <string>
- Editor type: all-editor-types, anonymous, group-bot, name-bot, or user Default:
all-editor-types.
--end <string>
- End date in YYYYMMDD format (default: yesterday)
--format <string>
- Format the specified output
--granularity <string>
- Data granularity: daily or monthly Default:
daily.
--graph-width <int>
- Graph width in columns (0 detects the terminal; otherwise 24–1000)
-o, --output <string>
- Output format (csv|graph|jq|json|table) Default:
auto.
--page-type <string>
- Page type: all-page-types, content, or non-content Default:
all-page-types.
--project <string>
- Wikimedia project host, for example en.wikipedia.org Default:
en.wikipedia.org.
--start <string>
- Start date in YYYYMMDD format (default: 30 days ago)
--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
mw analytics new-pages --project en.wikipedia.org --page-type content