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
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.
Thanks for the tip, I'll start researching.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Sunday, April 17, 2011 11:06 AM To: mediawiki-l@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org