Manual talk:$wgNamespacesToBeSearchedDefault

Important to note that setting this will not override a users preferences. So if you have changed your preferences, changing this will not appear to you, making you think that it hasn't worked --Dr DBW 01:54, 27 June 2007 (UTC)

The above problem, unfortunately, applies even to namespaces created after a user was created/has edited his/her preferences. The problem is that method  in   does not fall back to default user options if a particular option does not exist in that user's preferences. This is quite annoying if you use namespaces to categorize article types since there is no easy way to update preferences of all users. The following implementation of  solves the problem - it uses default values for options which the user did not touch yet: --Jim Bim 18:32, 17 August 2007 (UTC)

Problem with line $this -> load
There seems to be a problem in line 2:

no method "load" known

probably the correct code is:   ?

Custom namespaces
I think this setting needs to be included after any custom namespace declarations in LocalSettings.php or it won't take effect.  Thorncrag    01:48, 26 January 2011 (UTC)


 * Not strictly speaking, but if you're defining constants for the namespaces, you can't use them until you've defined them! —Emufarmers(T 03:15, 26 January 2011 (UTC)

Namespaces must be uppercase?
Namespaces must be uppercase? Because, I put this in LocalSettings.php:

But it didn´t work. What is the mistake? --Speedtook 09:25, 26 January 2012 (UTC)


 * I guess you have to set an entirely new array in LocalSettings.php including all namespaces and yes I would follow the example an capitalise the names of the namespaces. Cheers --&#91;&#91;kgh&#93;&#93; 14:30, 26 January 2012 (UTC)
 * Yes the namespace constants (NS_MAIN NS_HELP, etc) must be all uppercase. Bawolff 15:38, 26 January 2012 (UTC)