I added a namespace and put several pages into it. However, I cannot
make the search function default to searching both the main and the new
namespace. The namespace is "Key Term", so I added this to my
LocalSettings.php:
$wgNamespacesToBeSearchedDefault = array(
NS_MAIN => true,
NS_KEY_TERM => true
);
It only searches the Main namespace.