Hi,
I added some additinal Namespaces to my wiki
$wgExtraNamespaces = array(100 => "Test1", 101 => "Test1_Talk" );
and tried to add these namespaces to the default search.
But neither
$wgNamespacesToBeSearchedDefault = array(
-1 => false,
NS_MAIN => true,
NS_USER => false,
NS_USER_TALK => false,
NS_PROJECT_TALK => false,
NS_IMAGE_TALK => false,
NS_IMAGE_TALK => false,
NS_TEMPLATE_TALK => false,
NS_HELP_TALK => false,
NS_CATEGORY_TALK => false,
100 => true,
101 => true );
nor
$wgNamespacesToBeSearchedDefault = array(
-1 => false,
NS_MAIN => true,
NS_USER => false,
NS_USER_TALK => false,
NS_PROJECT_TALK => false,
NS_IMAGE_TALK => false,
NS_IMAGE_TALK => false,
NS_TEMPLATE_TALK => false,
NS_HELP_TALK => false,
NS_CATEGORY_TALK => false,
Test1 => true,
Test1_Talk => true );
works.
Does anybody has a tip what is going wrong?
Regards
Albert Cremer