[Mediawiki-l] Re: How to remove the Search Button from the Re: How to remove the Search Button from the MediaWiki and have just the Go Button.

FxParlant f-x.p at laposte.net
Thu Mar 31 19:43:39 UTC 2005


Search for all files with ".pt" extension. As I suppose your default 
layout is "monobook", you should find the button in monobook.pt 
(probably in skins/disabled/monobook.pt)

Sorry my first, answer, I'm still with 1.3

I guess in monobook.pt, you can first try deleting :
<div id="p-search" class="portlet">
	  <h5 i18n:translate="string:search">Search</h5>
	  <div class="pBody">
	    <form name="searchform" tal:attributes="action searchaction" 
id="searchform">
	      <input id="searchInput" name="search" type="text"
	      i18n:attributes="accesskey string:accesskey-search | default"/>
	      <input type='submit' name="go" value="Go" class="searchButton"
	      i18n:attributes="value string:go"/>&nbsp;<input type='submit' 
name="fulltext"
	      value="Search" class="searchButton"
	      i18n:attributes="value string:search"/>
	    </form>
	  </div>
	</div>


Tell me if I'm not total wrong

François

Karthik Gopalakrishnan wrote:
> Hi,
> 
> I'm using the Mediawiki 1.4rc1 . I couldn't find the 
> templates/xhtml_slim.pt file.
> 
> There is no templates directory..
> 
> !!! Please Help !!!
> Karthik.G
> 
> 
> 
> 
> 
> 
>>The main skeleton of pages is in templates/xhtml_slim.pt
> 
> 
>>Beware when you play with it, it's not simple html. As you can see it is
> 
>  >a little bit written to be interpreted by an engine (called phptal)
> 
> 
>>Fxparlant
>>(François)
> 
> 
> Karthik Gopalakrishnan wrote:
> 
>>Hi,
>>
>>I'm relatively to new to mediawiki. I'm planning to run a wiki in my
>>local intranet using the wikipedia Database Dump. I know that full
>>text search functionalaity is disabled. I want to remove the "Search"
>>Button and just have the "Go" Button to search the articles. Which php
>>file should I modify.
>>
>>!!! Please Help !!!
>>Karthik.G




More information about the MediaWiki-l mailing list