Skip to content

mw wiki

Releasev0.35.0 · cfeceb67

Read and manage pages, files and extension data on MediaWiki wikis. Use wiki auth login to save a profile, then select it with –profile. A saved default profile is used when no profile is specified. Use –wiki to choose a site within the profile’s scope.

For one-off access, supply –username with –password or –password-file. Use –anon to bypass saved credentials.

--anon
Use anonymous access instead of saved credentials
--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)
--wiki <string>
Wiki URL or API endpoint
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
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.