Memory Alpha:Episode data project/changing episode titles

Notes about moving episode pages, for the people who do that sort of thing.

Sidebar and browser stuff

 * Change sTitle in the sidebar
 * Do not change aSelf as long as the previous location remains a redirect
 * Make sure the episode's data at Memory Alpha:Episode data project/titles is correct
 * The series season lists, sidebar data, and browser data for every affected page will be changed automagically
 * Make sure Template:Titles/oldname is moved to Template:Titles/newname and the data is correct. DYKBot does not maintain these.

Changing links with pywikibot
DO NOT plain-text replace the title of the episode (ie: replace.py -start:! "Something One" "Something Two")

To replace normal links
replace.py -ref:"Something One" -regex "\[\[Something One(\|.*?|)\]\]" "Something Two\1"

To replace reference links
replace.py -ref:"Something One" -regex "(\{\{(TOS|TAS|TNG|DS9|VOY|ENT)(.*?)\|Something One(?=[|}])(.*?(\}\}))" "\1\2|Something Two\3" You can use a simpler one, if you know what the series is: replace.py -ref:"Something One" -regex "(\{\{TAS.*?)\|Something One(?=[|}])(.*?(\}\}))" "\1|Something Two\2"