Jump to content

Cli/ref/mw version

From mediawiki.org
< Cli‎ | ref

mw version

[edit]

Output the version information

mw version [flags]

Examples

[edit]
version
version --output=template --format={{.Version}}

Options

[edit]
  -f, --filter strings   Filter output based on conditions provided
      --format string    Format the specified output
      --output string    How to output the results json, template, table, ack (default "table")

Options inherited from parent commands

[edit]
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]
  • mw - Developer utilities for working with MediaWiki and Wikimedia services.