Modifications from the original to only give templates options to a namespace set in LocalSettings.php