[Mediawiki-l] how to disable the 'Go' facility?

Brion Vibber brion at pobox.com
Tue Jul 20 17:04:10 UTC 2004

Dan Kelley wrote:
> Q: is there a way to get rid of this "Go" button, or at least to make 
> the default action after pressing "return" be to do a "search", instead 
> of a "go"?
> PS. I did some grepping in the .php files but didn't see where this was 
> controlled. Plus, if there is a flag that I can set, rather than hacking 
> the .php files, then I'd like to do that, so that every time I upgrade I 
> don't have to re-hack the source.

There's no option, you'll have to go through and remove it. You'll be 
looking for things like this in Skin*.php:
'<input type="submit" name="go" value="' . wfMsg ('go') . '" />&nbsp;'

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20040720/bfc5ff8d/attachment.pgp 

More information about the MediaWiki-l mailing list