> $wgHooks['SpecialSearchGo'][] = function($t) {
>      $t = null;
>      return true;
> };


That works. It is live at http://teflpedia.com now.

What is $t? And what is []?

I don't really know PHP. Could you explain briefly what this snip is doing?

Thanks,
Roger :)

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to