User:Movebot

This is a proposed bot created by User:Pyramidhead to change episode titles across the wiki from the current Day X Y:00am-Z:00am to the more correct (as used on Imdb, Wikipedia, et al) Day X: Y:00am-Z:00am.

Using the pywikipedia bot framework this would involve only a few commands:

python movepages.py -pairs:Pairs.txt

will move the episode pages and create redirects from the old ones. Pairs.txt contains a list of titles and their new counterparts:

Day 1 12:00am-1:00am Day 1: 12:00am-1:00am Day 1 1:00am-2:00am Day 1: 1:00am-2:00am ...

Next, we find and replace all instances of those former titles on ALL pages of the wiki:

python replace.py -start:! -fix:colon

The -fix argument refers to a procedurally generated list of tuples with the old and new titles. This has been successfully tested using the -cat argument (only changing pages in the on the page: User:Pyramidhead/Day 9 9:00am-10:00am