OSAS / strapping-mediawiki

base skin for MediaWiki, based on Bootstrap — layer your own style (fonts, graphics, color) on top
Other
146 stars 35 forks source link

searchbox à la Vector? #62

Open Contrafibularity opened 9 years ago

Contrafibularity commented 9 years ago

With the Vector skin installed, typing a page title and hitting 'enter' on the keyboard takes you directly to the requested page (if it exists, of course). With the Strapping skin, on the other hand, hitting 'enter' takes you to the search results first. I guess that this is simply a matter of personal preference, but maybe someone can at least say what needs to be done, what code needs to be adjusted and how, to get the Vector-type behaviour?

Best,

Contrafibularity commented 9 years ago

I found the answer myself: in Strapping.skin.php go to instances of makeSearchButton and change 'fulltext' to 'go'. That's it.

woiow commented 8 years ago

AWESOME!!!! This has been bugging me for a long time...works great! +1: