Skip to content

mw wiki rest refresh

Releasev0.35.0 · cfeceb67

mw wiki rest refresh [flags]

Discover and cache public OpenAPI schemas served by this wiki. Uses MediaWiki REST discovery and also checks the legacy Wikibase OpenAPI document when not advertised. Raw REST calls work even if this wiki does not publish schemas. Never authenticates or follows external specification URLs.

--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
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.