Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: 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

Преместване на страница.

Parameters:
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

Title to rename the page to.

This parameter is required.
reason

Причина за преименуването.

По подразбиране: (празно)
movetalk

Преименуване на беседата, ако има такава.

Type: boolean (details)
movesubpages

Преименуване на подстраници, ако е приложимо.

Type: boolean (details)
noredirect

Не създавай пренасочване.

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.

Една от следните стойности: nochange, preferences, unwatch, watch
Default: preferences
ignorewarnings

Пренебрегване на всякакви предупреждения.

Type: boolean (details)
tags

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

Стойности (разделени с | или алтернативния разделител):
token

Маркер „csrf“, получен от action=query&meta=tokens

This parameter is required.