On Fri, Sep 6, 2013 at 2:33 PM, Nikolas Everett <[email protected]> wrote: > I'm sure there is a better way but I have a hack that'll do it. Drop > this in LocalSettings.php: > > $wgHooks['SpecialSearchGo'][] = function($p) { > $p[0] = null; > return true; > }; > > Tested against master branch so your results may vary.
Hm, in MW1.20.2, for me that causes this error: Fatal error: Cannot use object of type Title as array in /home/bilbo/public_html/teflpedia.com/LocalSettings.php on line 162 (line 162 being $p[0] = null;) Any suggestions on a better way to stop the 'Go [direct to article]' behavior of the Search box? Roger _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
