Index: branches/REL1_16/phase3/skins/common/wikibits.js |
— | — | @@ -25,8 +25,14 @@ |
26 | 26 | var opera7_bugs = is_opera_seven && !is_opera_95; |
27 | 27 | var opera95_bugs = /opera\/(9\.5)/.test( clientPC ); |
28 | 28 | } |
29 | | -// Start at 4 to minimize the chance of breaking on IE10 :) |
30 | | -var ie6_bugs = /msie [4-6]/.test( clientPC ); |
| 29 | +// As recommended by <http://msdn.microsoft.com/en-us/library/ms537509.aspx>, |
| 30 | +// avoiding false positives from moronic extensions that append to the IE UA |
| 31 | +// string (bug 23171) |
| 32 | +var ie6_bugs = false; |
| 33 | +if ( /MSIE ([0-9]{1,}[\.0-9]{0,})/.exec( clientPC ) != null |
| 34 | +&& parseFloat( RegExp.$1 ) <= 6.0 ) { |
| 35 | + ie6_bugs = true; |
| 36 | +} |
31 | 37 | |
32 | 38 | // Global external objects used by this script. |
33 | 39 | /*extern ta, stylepath, skin */ |
Index: branches/REL1_16/phase3/RELEASE-NOTES |
— | — | @@ -63,6 +63,7 @@ |
64 | 64 | check. |
65 | 65 | * (bug 23167) Check the watch checkbox by default if the watchcreations |
66 | 66 | preference is set. |
| 67 | +* (bug 23171) Improve IE6 version check to avoid false positives. |
67 | 68 | |
68 | 69 | === Changes since 1.16 beta 1 === |
69 | 70 | |