Moved uselocale to a more reasonable location

This method can be used at other locations. The upcoming API to get wiki articles will need this so this is not just email specific.