r101462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101461‎ | r101462 | r101463 >
Date:08:58, 1 November 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r101461
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
@@ -3,6 +3,11 @@
44 */
55
66 ( function( $ ) {
 7+// HACK: This code is broken in IE7 and below, so if this is IE < 8, bail now
 8+var browser = $.client.profile();
 9+if ( browser.name === 'msie' && browser.versionNumber < 8 ) {
 10+ return;
 11+}
712
813 // Only track users who have been assigned to the tracking group
914 var tracked = 'track' === mw.user.bucket(

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101461Hack for bug 31543: disable ArticleFeedback on IE7 and belowcatrope08:53, 1 November 2011

Status & tagging log