diff --git a/modules/jquery.wikiEditor.dialogs.config.js b/modules/jquery.wikiEditor.dialogs.config.js index 81c269dc..2f57c702 100644 --- a/modules/jquery.wikiEditor.dialogs.config.js +++ b/modules/jquery.wikiEditor.dialogs.config.js @@ -1013,19 +1013,11 @@ browsers: { // Left-to-right languages ltr: { - msie: [ [ '>=', 11 ] ], // Known to work on 11. - firefox: [ [ '>=', 2 ] ], - opera: false, - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ] + msie: [ [ '>=', 11 ] ] // Known to work on 11. }, // Right-to-left languages rtl: { - msie: [ [ '>=', 11 ] ], // Works on 11 but dialog positioning is cruddy. - firefox: [ [ '>=', 2 ] ], - opera: false, - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ] + msie: [ [ '>=', 11 ] ] // Works on 11 but dialog positioning is cruddy. } }, titleMsg: 'wikieditor-toolbar-tool-replace-title', diff --git a/modules/jquery.wikiEditor.dialogs.js b/modules/jquery.wikiEditor.dialogs.js index 23d82f87..04ae33c6 100644 --- a/modules/jquery.wikiEditor.dialogs.js +++ b/modules/jquery.wikiEditor.dialogs.js @@ -11,35 +11,19 @@ browsers: { // Left-to-right languages ltr: { - msie: [ [ '>=', 7 ] ], - // jQuery UI appears to be broken in FF 2.0 - 2.0.0.4 - firefox: [ - [ '>=', 2 ], - [ '!=', '2.0' ], - [ '!=', '2.0.0.1' ], - [ '!=', '2.0.0.2' ], - [ '!=', '2.0.0.3' ], - [ '!=', '2.0.0.4' ] - ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] }, // Right-to-left languages rtl: { - msie: [ [ '>=', 7 ] ], - // jQuery UI appears to be broken in FF 2.0 - 2.0.0.4 - firefox: [ - [ '>=', 2 ], - [ '!=', '2.0' ], - [ '!=', '2.0.0.1' ], - [ '!=', '2.0.0.2' ], - [ '!=', '2.0.0.3' ], - [ '!=', '2.0.0.4' ] - ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] } }, diff --git a/modules/jquery.wikiEditor.js b/modules/jquery.wikiEditor.js index 91d12534..c0d35db1 100644 --- a/modules/jquery.wikiEditor.js +++ b/modules/jquery.wikiEditor.js @@ -63,15 +63,11 @@ browsers: { // Left-to-right languages ltr: { - // The toolbar layout is broken in IE6 - msie: [ [ '>=', 7 ] ], - // Layout issues in FF < 2 - firefox: [ [ '>=', 2 ] ], - // Text selection bugs galore - opera: [ [ '>=', 9.6 ] ], - // jQuery minimums - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ], + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ], netscape: [ [ '>=', 9 ] ], blackberry: false, ipod: [ [ '>=', 6 ] ], @@ -79,15 +75,11 @@ }, // Right-to-left languages rtl: { - // The toolbar layout is broken in IE 7 in RTL mode, and IE6 in any mode - msie: [ [ '>=', 8 ] ], - // Layout issues in FF < 2 - firefox: [ [ '>=', 2 ] ], - // Text selection bugs galore - opera: [ [ '>=', 9.6 ] ], - // jQuery minimums - safari: [ [ '>=', 3 ] ], - chrome: [ [ '>=', 3 ] ], + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ], netscape: [ [ '>=', 9 ] ], blackberry: false, ipod: [ [ '>=', 6 ] ], @@ -171,7 +163,7 @@ return object[ property ]; } else if ( property + 'Msg' in object ) { p = object[ property + 'Msg' ]; - if ( $.isArray( p ) && p.length >= 2 ) { + if ( Array.isArray( p ) && p.length >= 2 ) { return mw.message.apply( mw.message, p ).text(); } else { return mw.message( p ).text(); diff --git a/modules/jquery.wikiEditor.preview.js b/modules/jquery.wikiEditor.preview.js index 82f7f63e..7b5b7030 100644 --- a/modules/jquery.wikiEditor.preview.js +++ b/modules/jquery.wikiEditor.preview.js @@ -8,17 +8,19 @@ browsers: { // Left-to-right languages ltr: { - msie: [ [ '>=', 7 ] ], - firefox: [ [ '>=', 3 ] ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 4 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] }, // Right-to-left languages rtl: { - msie: [ [ '>=', 8 ] ], - firefox: [ [ '>=', 3 ] ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 4 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] } }, diff --git a/modules/jquery.wikiEditor.publish.js b/modules/jquery.wikiEditor.publish.js index 8f73e358..08a6cc57 100644 --- a/modules/jquery.wikiEditor.publish.js +++ b/modules/jquery.wikiEditor.publish.js @@ -9,17 +9,19 @@ browsers: { // Left-to-right languages ltr: { - msie: [ [ '>=', 7 ] ], - firefox: [ [ '>=', 3 ] ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 4 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] }, // Right-to-left languages rtl: { - msie: [ [ '>=', 8 ] ], - firefox: [ [ '>=', 3 ] ], - opera: [ [ '>=', 9.6 ] ], - safari: [ [ '>=', 4 ] ] + msie: [ [ '>=', 9 ] ], + firefox: [ [ '>=', 4 ] ], + opera: [ [ '>=', '10.5' ] ], + safari: [ [ '>=', 5 ] ], + chrome: [ [ '>=', 5 ] ] } },