[Mediawiki-l] searching custom namespaces

Johannes Perl johannes.perl at gmail.com
Tue Sep 11 16:22:36 UTC 2007


hi,

is there a way to search custom namespaces by default? already searched on
metawiki etc. but didn't find anything about it.

the way i tried is:

$wgNamespacesToBeSearchedDefault[] = array (
    NS_MAIN => true,
    100 => true,
    101 => true,
    102 => true,
    103 => true
);

Unfortunately it's not working.
I tried it with a anonymous user, so the issue the user was created before
this setting shouldn't matter.

-Johannes


More information about the MediaWiki-l mailing list