[Mediawiki-l] Changing the default from "Go" to "Search"

Katharina Wolkwitz wolkwitz at fh-swf.de
Thu Oct 11 14:45:48 UTC 2007


Hi,

I've found the solution myself. ;-)
exchange the respective ids so the two lines now look like this:

<input type='submit' name="fulltext" class="searchButton" id="searchGoButton"
value="<?php $this->msg('searchbutton') ?>" />&nbsp;
<input type='submit' name="go" class="searchButton" id="mw-searchButton"
value="<?php $this->msg('searcharticle') ?>" />

instead of:

<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton"
value="<?php $this->msg('searchbutton') ?>" />&nbsp;
<input type='submit' name="go" class="searchButton" id="searchGoButton"
value="<?php $this->msg('searcharticle') ?>" />

Kate

Katharina Wolkwitz schrieb:
> Thanks - that works, even though the text on the buttons suggests otherwise.
> 
> So - how can I make the search-button have the bold caption and the go-button
> the normal caption?
> 
> Kate
> 
> Alexis Moinet schrieb:
>> Katharina Wolkwitz wrote :
>>> I'd like to change the default-searchtype for my wiki from article-search (=
>>> Go-Button) to fulltext-search (=search-button), so that when a user enters a
>>> search word and hits enter the fulltext-search is performed.
>>>
>>> I've found exactly this question in the mailinglist-archiv but there was no
>>> working solution given, so I decided to ask again.
>> Invert the two buttons in monobook.php



More information about the MediaWiki-l mailing list