public. Move page to a new location
| Name | Type | Description |
| pageid | string | either an integer page ID, "home", or "=" followed by a double uri-encoded page title |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| name | string? | Move the page to the given name while keeping it under the same parent page |
| parentid | int? | Relocate the page under a given parent page |
| redirects | int? | If zero, do not follow page redirects. |
| title | string? | Set the title of the page. The name of a page is also modified unless it's provided |
| to | string? | new page location including the path and name of the page |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Conflict | 409 | Page move would conflict with an existing page |
| Forbidden | 403 | Update access to the page is required |
| NotFound | 404 | Requested page could not be found |
| Ok | 200 | The request completed successfully |
Output:
<pages.moved count="{int}">
<page id="{int}" href="{uri}">
<title>{text}</title>
<path>{text}</path>
</page>
...
</pages.moved>
A page cannot be moved to a destination that already exists, is a descendant, or has a protected title (ex. Special:xxx, User:, Template:).
When a page is moved, subpages under the specified page are also moved. For each moved page, the system automatically creates an alias page that redirects from the old to the new destination.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by