Manual:Page moving

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski

Moving a page causes the page title to change while the page id remains the same. 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 API:MoveAPI:Move (ApiMove.php).

Moving a page, and then moving it 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]

Log actionsManual:Log actions Events: BlockingManual:Block and unblockImportingManual:Importing revisionsMerging historiesManual:Merging historiesPage deletionManual:Page deletionPage movingManual:Page movingPage restorationManual:Page restorationPatrollingManual:PatrollingProtectionManual:ProtectionRenaming a userExtension:RenameuserRevisionDeleteManual:RevisionDeleteThankingExtension:ThanksUploadingManual:UploadingUser creationManual:User creationUser rights managementManual:User rightsMerging usersManual:Merging users

Settings: $wgLogTypesManual:$wgLogTypes$wgLogActionsManual:$wgLogActions$wgLogNamesManual:$wgLogNames$wgLogHeadersManual:$wgLogHeaders$wgLogActionsHandlersManual:$wgLogActionsHandlers$wgLogRestrictionsManual:$wgLogRestrictions$wgFilterLogTypesManual:$wgFilterLogTypes$wgActionFilteredLogsManual:$wgActionFilteredLogs

Miscellaneous: Logging to Special:LogManual:Logging to Special:LogAPIAPI:Logeventslogging tableManual:Logging tableNull revisionManual:Null revision