Jump to content

Manual:Page moving

From mediawiki.org

Moving a page causes the page title to change while the page ID remains the same, and the revision history is retained. If a redirect is created under the moved page's former page title, it will have a new page ID. Pages can be moved using Special:MovePage (SpecialMovepage.php) or action=move (ApiMove.php).

Moving a page, and then moving ID again, can create double redirects.

Database

[edit]

There are two possible kinds of page move log actions: move and move_redir. The latter refers to a move over a redirect.

API

[edit]

A page move log event has a "move" sub-element, e.g. <move new_ns="0" new_title="Foo" suppressredirect="" />

Hooks

[edit]

Hooks that pertain to page moves are:

See also

[edit]