mw wiki page info TITLE [flags]
Read metadata for one page without downloading its source. Redirect pages are inspected as pages by default; –follow-redirects asks the selected wiki to resolve them. Missing or invalid titles return an error.
--follow-redirects
Resolve redirects within the selected wiki before reading metadata
--format <string>
Format the specified output
-o, --output <string>
Output format (jq|json) Default: json.
--raw
Print response bytes unchanged
--anon
Use anonymous access instead of saved credentials
--help
Help for this command
--no-interaction
Do not ask any interactive questions
--password <string>
Wiki login password (or bot password)
--password-file <string>
Read the login password from a file
--profile <string>
Saved profile name or REALM/NAME
--realm <string>
Shared-login realm (wikimedia and wikibase-world are built in)
--username <string>
Wiki login username (use Name@bot for a bot password)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
--wiki <string>
Wiki URL or API endpoint
mw wiki page info Earth --output jq --format .fullurl