Actually I take back "perfect" a little. $wgHiddenPrefs seems to be the right thing to use, but there's no documented support for hiding the ability to hide the "Advanced options" box under "Search options". Looking at includes/Preferences.php doesn't show any code that would respond to $wgHiddenPrefs in that way either. Am I stuck editing Preferences.php?
-----Original Message----- From: Sal Quintanilla [mailto:[email protected]] Sent: Thursday, December 01, 2011 7:02 PM To: 'MediaWiki announcements and site admin list'; '[email protected]' Subject: RE: [Mediawiki-l] Custom Namespace hidden from search Perfect, thanks Dan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Barrett Sent: Thursday, December 01, 2011 6:19 PM To: [email protected]; MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace hidden from search Add some JavaScript to MediaWiki:Common.js that hides the items on Special:Preferences that you don't want shown. If you have a later Mediawiki, you can use the $wgHiddenPrefs array to hide specific areas of Special:Preferences. DanB _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
