Rewrite rendering of Vector simple search
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 1 Feb 2014 17:06:48 +0000 (18:06 +0100)
committerOri.livneh <ori@wikimedia.org>
Mon, 3 Feb 2014 02:26:18 +0000 (02:26 +0000)
commit27068d52076c06e54374eded0dad05fbbd40e674
tree699a3d0a4940e56392dbf37af46a1ae3d96564d6
parentff5fcafe60ea24f28a7694d9c75a29cd61297409
Rewrite rendering of Vector simple search

* Do not emit different HTML for LTR and RTL (partially fixes
  bug 46947).
* Do not use <button> element to avoid IE6 and Firefox troubles
  (fixes bug 50660). Only one little one-line hack is necessary now.
* Implement simple search formatting client-side (site/user options
  only control adding id=simpleSearch on the search container, CSS
  does the rest).
* Make the search use the 'fulltext' mode by default (to make full
  functionality accessible; fixes bug 25127) and 'go' when search
  suggestions are enabled and working (JavaScript enabled and browser
  support okay), as the module handles fulltext search itself.
* Use appropriate tooltips on the buttons (fixes bug 24248).
* General CSS and HTML cleanup in related areas.
* Keep the old styles necessary for backwards-compatibility with
  cached HTML. Removing them in subsequent commit Ib9f59b6d.

Co-Authored-By: Bartosz Dziewoński <matma.rex@gmail.com>
Co-Authored-By: Derk-Jan Hartman <hartman.wiki@gmail.com>
Bug: 24248
Bug: 25127
Bug: 46947
Bug: 50660
Change-Id: I5fe0543e273aab4fbfb88f8ce933bc49872d4793
resources/mediawiki/mediawiki.searchSuggest.js
skins/Vector.php
skins/vector/components/search.less