There's a way to do this which is generally much easier - the Replace Text extension: http://www.mediawiki.org/wiki/Extension:Replace_Text It can replace strings in both page contents and their titles. -Yaron