Pagerename.py is a script for the pywikipedia framework, used to rename a series of pages on Wikipedia and other MediaWiki sites. The script is designed to make the same modification on all the titles it reads from the input file. You can remove parts of the title or add a new text at the beginning and/or and of the title. You can find it’s source code below or at this site.
The software is distributed under CC-GNU GPL license.