[Mediawiki-l] Unsearchable custom namespace
trueskew at gmail.com
Mon Apr 18 01:00:26 UTC 2011
Thanks for the tip, I'll start researching.
> -----Original Message-----
> From: mediawiki-l-bounces at lists.wikimedia.org
> [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
> Sent: Sunday, April 17, 2011 11:06 AM
> To: mediawiki-l at lists.wikimedia.org
> Subject: Re: [Mediawiki-l] Unsearchable custom namespace
> trueskew wrote:
> > I'd like to store some pages that can't be found easily on
> my site.
> > It seems like a reasonable way to do that is to create a custom
> > namespace for them. The only problem is, I don't want the
> pages to come up in a search.
> > Is it possible to prevent a user from being able to add my custom
> > namespace to their default search list?
> > And if not, if anyone can suggest ways for me to do this, I'd
> > appreciate hearing your ideas. I'm already anticipating
> the answer to
> > the question above is no, maybe I just need to create a separate
> > mediawiki database and make it appear connected.
> > Thanks.
> > - skew
> You could hook at SearchEngineReplacePrefixesComplete and
> unset the hidden namespace.
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
More information about the MediaWiki-l