Jump to content

Cli/ref/mw wiki page delete

From mediawiki.org
< Cli | ref

mw wiki page delete

[edit]

MediaWiki Wiki Page Delete

mw wiki page delete [flags]

Examples

[edit]
# Delete the page "mwcli-test" page on test.wikipedia.org
delete --wiki https://test.wikipedia.org/w/api.php --user ${user} --password ${password} --title "mwcli-test"

Options

[edit]
      --reason string   Reason for the deletion (default "mwcli deletion")

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
      --password string   Password of the user to interact with
      --title string      Title of the page
      --user string       A user to interact using
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv
      --wiki string       URL of wikis api.php

SEE ALSO

[edit]