From http://jeffmcneill.com/2007/09/30/lowercase-usernames-namespaces-mediawiki-installation/
Ah, between this article on custom namespaces and a wonderful set of hacks over here and going into the languages.php file, here is what needs to be changed (beyond renaming special files and templates) in order to get an all-lower-case mediawiki installation: