Manual:Pywikibot/movepages.py

This script can move pages.

These command line parameters can be used to specify which pages to work on:

&params;

Furthermore, the following command line parameters are supported:

-from and -to    The page to move from and the page to move to. -noredirect      Leave no redirect behind. -prefix          Move pages by adding a namespace prefix to the names of the pages. (Will remove the old namespace prefix if any) Argument can also be given as "-prefix:namespace:". -always          Don't prompt to make changes, just do them. -skipredirects   Skip redirect pages (Warning: increases server load) -summary         Prompt for a custom summary, bypassing the predefined message texts. Argument can also be given as "-summary:XYZ". -pairs           Read pairs of file names from a file. The file must be in a format frompage topage frompage topage ...                   Argument can also be given as "-pairs:filename"