My guess is that you didn't define the namespace constant NS_DBA.
On Thu, Mar 8, 2012 at 12:10 PM, Shaffer, Kurt Kurt_Shaffer@steris.com wrote:
Hi all, New to the list so if asked please excuse me.
I am trying to get the default search to search a new Namespace, I've added it to the LocalSettings.php file as shown:
#Set default searching $wgNamespacesToBeSearchedDefault = array( NS_MAIN => true, NS_FILE => true, NS_DBA => true, );
When not logged in only main and file are checked and searched. I did a modification to the database as recommended in some documentation adding the namespace to all users options. When a user is logged in it searches the new namespace by default.
How can I get it to include the namespace for searches when not logged in?
Thankx. Kurt
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l