Hi, Thank you for the quick answer. I added the following in my stylesheet:
#mw-search-ns93 {display:none; }
It hides the checkbox but not its label (checkbox text). Is there a way to hide the label too? Sorry, I'm not a CSS guru.
Kind regards.
Laurent
2008/9/25 Platonides Platonides@gmail.com
Wikimini write:
Hi,
First, sorry for my poor english.
Don't worry.
I've created a wiki for children and the « Search in Namespaces » box
brings
too much confusion for them. Namespaces like « MediaWiki », « MediaWiki_talk », « Template », « Portal », … are not of any importance
to
them.
I would like some namespaces NOT TO BE SHOWN in the « Search in Namespaces » box. I've been looking all over the Internet but didn't find any solution. $wgNamespacesToBeSearchedDefault<
http://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault
doens not seem to do what I need. I surely could do that by customizing the SpecialSearch.php page but I'm
not
sure what to do exactly. I would be very grateful to anyone who could
help
me manage that.
I'm using Mediawiki 1.13
Kind regards.
Laurent
Each of them has an id (mw-search-ns1, mw-search-ns2, mw-search-ns3...) Just use CSS (Mediawiki:Common.css) to hide the unwanted ones.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l