[Mediawiki-l] Default search? Adding namespaces to it

Bass, Joshua L joshua.l.bass at lmco.com
Thu Sep 15 18:41:41 UTC 2005


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. 




More information about the MediaWiki-l mailing list