Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.ie.css |
Property changes on: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.ie.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1 | + native |
Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.ie.js |
Property changes on: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.ie.js |
___________________________________________________________________ |
Added: svn:eol-style |
2 | 2 | + native |
Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.js |
— | — | @@ -73,6 +73,7 @@ |
74 | 74 | mw.config.get( 'wgArticleFeedbackv5LinkBuckets' ) |
75 | 75 | ); |
76 | 76 | var nameMap = { '-': '0', 'A': '1', 'B': '2', 'C': '3' }; |
| 77 | + aft5_debug('Links option: ' + bucketName + ' - ' + nameMap[bucketName]); |
77 | 78 | return nameMap[bucketName]; |
78 | 79 | } |
79 | 80 | }(); |
Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.startup.js |
— | — | @@ -77,6 +77,10 @@ |
78 | 78 | // Lazy loading |
79 | 79 | if ( !disable && ( wonLottery || enable ) ) { |
80 | 80 | mw.loader.load( 'ext.articleFeedbackv5' ); |
| 81 | + // Load the IE-specific module |
| 82 | + if( navigator.appVersion.indexOf(�MSIE�) != -1 ) { |
| 83 | + mw.loader.load( 'ext.articleFeedbackv5.ie' ); |
| 84 | + } |
81 | 85 | } |
82 | 86 | } |
83 | 87 | } ); |
Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -34,6 +34,10 @@ |
35 | 35 | 'ext.articleFeedbackv5.ratingi18n', |
36 | 36 | ), |
37 | 37 | ), |
| 38 | + 'ext.articleFeedbackv5.ie' => array( |
| 39 | + 'scripts' => 'ext.articleFeedbackv5/ext.articleFeedbackv5.ie.js', |
| 40 | + 'styles' => 'ext.articleFeedbackv5/ext.articleFeedbackv5.ie.css' |
| 41 | + ), |
38 | 42 | 'ext.articleFeedbackv5.ratingi18n' => array( |
39 | 43 | 'messages' => null, // Filled in by the resourceLoaderRegisterModules() hook function later |
40 | 44 | ), |