Manual:moveBatch.php

From MediaWiki.org
Jump to: navigation, search


moveBatch.php is a maintenance script located in the maintenance directory that can be used to move (rename) a batch of pages. If the target page already exist it will fail with an error message.

Usage[edit | edit source]

Option/Parameter Description
-u <user> Username that will be shown in the log entries. If left empty, moves will be attributed to the user called Move page script.
-r <reason> Reason for moves. If empty, no reason will be shown in the logs.
-i <interval> Number of seconds to sleep after each move. If empty, defaults to 0.
<listfile> File should contain lines of text in the following format
existing name|new name