Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

At Wikipedia, the search field (when located on the left, in the sidebar) gets dynamically wider if the suggested page name is too wide for the default search field.

Does anyone know how to switch this on (or how it might be switched off)? I've checked LocalSettings.php, MediaWiki:Common.css and MediaWiki:Common.js but cannot find anything.

Clarification: I'm looking for a dynamic change (depending on page width), not structurally increasing the sidebar width.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

when using the new Vector skin, install the Vector extension and add this to your LocalSettings.php (after including the extension files):

$wgVectorFeatures['expandablesearch']['global'] = true;

This would expand the search box dynamically when it is focused on, but this is only a functionality of the Vector skin.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.