MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=move

(main | move)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.

Move a page.

Parameters:
from

Title of the page you want to move. Cannot be used together with fromid.

fromid

Page ID of the page you want to move. Cannot be used together with from.

to

Title you want to rename the page to.

This parameter is required.
reason

Reason for the move.

Default: (empty)
movetalk

Move the talk page, if it exists.

movesubpages

Move subpages, if applicable.

noredirect

Don't create a redirect.

watch
Deprecated.

Add the page and the redirect to your watchlist.

unwatch
Deprecated.

Remove the page and the redirect from your watchlist.

watchlist

Unconditionally add or remove the page from your watchlist, use preferences or do not change watch.

One value: watch, unwatch, preferences, nochange
Default: preferences
ignorewarnings

Ignore any warnings.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.