MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=move

(main | move)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Move a page.

Specific parameters:
Other general parameters are available.
from

Title of the page to rename. Cannot be used together with fromid.

fromid

Page ID of the page to rename. Cannot be used together with from.

Type: integer
to

ਸਫ਼ੇ ਦਾ ਨਾਮ ਬਦਲਣ ਲਈ ਸਿਰਲੇਖ।

This parameter is required.
reason

ਨਾਮ ਬਦਲਣ ਦਾ ਕਾਰਨ।

Default: (empty)
movetalk

ਗੱਲਬਾਤ ਸਫ਼ੇ ਦਾ ਨਾਮ ਬਦਲੋ, ਜੇ ਇਹ ਮੌਜੂਦ ਹੈ।

Type: boolean (details)
movesubpages

Rename subpages, if applicable.

Type: boolean (details)
noredirect

Don't create a redirect.

Type: boolean (details)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

One of the following values: nochange, preferences, unwatch, watch
Default: preferences
watchlistexpiry

Watchlist expiry timestamp. Omit this parameter entirely to leave the current expiry unchanged.

Type: expiry (details)
ignorewarnings

Ignore any warnings.

Type: boolean (details)
tags

Change tags to apply to the entry in the move log and to the null revision on the destination page.

Values (separate with | or alternative): twinkle
token

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

This parameter is required.