[Mediawiki-l] Changing Default Search Parameters

Rob Church robchur at gmail.com
Fri Aug 3 14:47:00 UTC 2007


On 02/08/07, Adam Meyer <meyer7 at mindspring.com> wrote:
> in includes/DefaultSettings.php
>
> search for
> NS_MAIN           => true,
>
> should look like
>
> $wgNamespacesToBeSearchedDefault = array(
>         NS_MAIN           => true,
>
> add this right under it.
>
> NS_CATEGORY               => true

Don't change includes/DefaultSettings.php, or stuff will just stop
working following upgrades. Add the line Jim Hu provided elsewhere in
this thread to LocalSettings.php, instead.


Rob Church



More information about the MediaWiki-l mailing list