[Mediawiki-l] Default Search

Shaffer, Kurt Kurt_Shaffer at steris.com
Mon Mar 12 16:00:59 UTC 2012


Thankx Jeremy, worked great.  Adding the define lines did the trick.


------------------------------

Message: 2
Date: Fri, 9 Mar 2012 13:29:21 -0500
From: Jeremy Baron <jeremy at tuxmachine.com>
To: MediaWiki announcements and site admin list
	<mediawiki-l at lists.wikimedia.org>
Subject: Re: [Mediawiki-l] Default Search
Message-ID:
	<CAE-2OCZMyoqUY+yeh3z5_ttuTLeJdZOABkmnDL6-bi3kZs_wNA at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Fri, Mar 9, 2012 at 08:53, Shaffer, Kurt <Kurt_Shaffer at steris.com> wrote:
> Not sure how to check that. ?Here is what is in the LocalSettings.php file:
>
> $wgExtraNamespaces[506] = "DBA";
> $wgExtraNamespaces[507] = "DBA_talk";
> $wgContentNamespaces[] = array( NS_MAIN, NS_TALK, NS_DBA, NS_DBA_talk );
> $wgNamespacesToBeSearchedDefault = array(
> ? ? ? ?NS_MAIN => ? ? ? ? ? true,
> ? ? ? ?NS_CATEGORY => ? ? ? true,
> ? ? ? ?NS_IMAGE => ? ? ? ? ?true,
> ? ? ? ?NS_DBA => ? ? ? ? ? ?true,
> );

See the last ~10 lines of this section:
https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#Creating_a_custom_namespace

-Jeremy






More information about the MediaWiki-l mailing list