Manual:Pywikipediabot/movepages.py
From MediaWiki.org
This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.
Subversion repository of Wikimedia has this file:
Pywikipediabot scripts |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
This script can move pages.
These command line parameters can be used to specify which pages to work on:
¶ms;
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"
