MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=move
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MediaWiki
- License: GPL-2.0+
Преместване на страница.
- 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
Причина за преименуването.
- Default: (empty)
- movetalk
Преименуване на беседата, ако има такава.
- Type: boolean (details)
- movesubpages
Преименуване на подстраници, ако е приложимо.
- Type: boolean (details)
- noredirect
Не създавай пренасочване.
- Type: boolean (details)
- watch
- Deprecated.
Add the page and the redirect to the current user's watchlist.
- Type: boolean (details)
- unwatch
- Deprecated.
Remove the page and the redirect from the current user's watchlist.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.
- One of the following values: watch, unwatch, preferences, nochange
- 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.
- Values (separate with | or alternative):
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- Move Badtitle to Goodtitle without leaving a redirect.
- api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect= [open in sandbox]