Use capability testing instead of UA sniffing
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 16 Jul 2009 02:58:17 +0000 (02:58 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 16 Jul 2009 02:58:17 +0000 (02:58 +0000)
commit1448cbd733cbc0558e4c5481e2c4ba35c58ee952
treeb5567df3253124d0be7702b366fb33d90024c1df
parentaf01db6f62aaedb6374344a6359a0ac6c411dd84
Use capability testing instead of UA sniffing

This should theoretically work fine, but I'm admittedly not *totally*
sure what this is supposed to do, so I haven't actually tested it.  The
old behavior was almost certainly wrong, though: is_khtml was returning
true for all WebKit, and non-ancient WebKit definitely supports
overflow-x.  Robert Stojnic/rainman should take a look at this to make
sure it's right, or anyone else who knows what this does.
skins/common/mwsuggest.js