Merge "Increase Opera minimum for Grades A and C to 15"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 29 Nov 2017 20:54:00 +0000 (20:54 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 29 Nov 2017 20:54:00 +0000 (20:54 +0000)
RELEASE-NOTES-1.31
includes/resourceloader/ResourceLoaderImageModule.php
resources/src/jquery/jquery.suggestions.css
resources/src/mediawiki.less/mediawiki.mixins.less
resources/src/mediawiki.special/mediawiki.special.apisandbox.css
resources/src/mediawiki/mediawiki.searchSuggest.css
resources/src/startup.js
tests/phpunit/includes/resourceloader/ResourceLoaderImageModuleTest.php

index 3de0e17..c24d761 100644 (file)
@@ -105,6 +105,9 @@ changes to languages because of Phabricator reports.
 * Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use
   Maintenance::fatalError() instead.
 * Passing a ParserOptions object to OutputPage::parserOptions() is deprecated.
+* Browser support for Opera 12 and older was removed.
+  Opera 15+ continues at Grade A support.
+* …
 
 == Compatibility ==
 MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for
index 71a0fa2..5e329e8 100644 (file)
@@ -386,8 +386,6 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
                return [
                        "background-image: $fallbackUrl;",
                        "background-image: linear-gradient(transparent, transparent), $primaryUrl;",
-                       // Do not serve SVG to Opera 12, bad rendering with border-radius or background-size (T87504)
-                       "background-image: -o-linear-gradient(transparent, transparent), $fallbackUrl;",
                ];
        }
 
index 0c26dfc..825c7ca 100644 (file)
@@ -40,7 +40,6 @@
        text-align: left;
        /* Apply ellipsis to suggestions */
        overflow: hidden;
-       -o-text-overflow: ellipsis; /* Opera 9 to 10 */
        text-overflow: ellipsis;
        white-space: nowrap;
 }
index ea0b959..58f6dc2 100644 (file)
@@ -38,8 +38,6 @@
 .background-image-svg( @svg, @fallback ) {
        background-image: url( @fallback );
        background-image: linear-gradient( transparent, transparent ), e( '/* @embed */' ) url( @svg );
-       // Do not serve SVG to Opera 12, bad rendering with border-radius or background-size (T87504)
-       background-image: -o-linear-gradient( transparent, transparent ), url( @fallback );
 }
 
 // Shorthand for background-image-svg. Use if your PNG and SVG have the same name
index 5f6c6dc..928fa17 100644 (file)
@@ -86,7 +86,6 @@
        font-family: monospace, monospace;
        font-size: 0.8125em;
        -moz-tab-size: 4;
-       -o-tab-size: 4;
        tab-size: 4;
 }
 
index ce3cfbd..8d56906 100644 (file)
@@ -18,7 +18,6 @@
 .suggestions a.mw-searchSuggest-link .special-query {
        /* Apply ellipsis to suggestions */
        overflow: hidden;
-       -o-text-overflow: ellipsis; /* Opera 9 to 10 */
        text-overflow: ellipsis;
        white-space: nowrap;
 }
index e8585c3..b0c1578 100644 (file)
@@ -33,7 +33,7 @@ window.mwNow = ( function () {
  * - IE 10+
  * - Firefox 4+
  * - Safari 5+
- * - Opera 12.10+
+ * - Opera 15+
  * - Mobile Safari 5.1+ (iOS 5+)
  * - Android 4.1+
  *
@@ -42,7 +42,7 @@ window.mwNow = ( function () {
  * - IE 6+
  * - Firefox 3+
  * - Safari 3+
- * - Opera 10+
+ * - Opera 15+
  * - Mobile Safari 5.0+ (iOS 4+)
  * - Android 2.0+
  * - WebOS < 1.5
index f53cd06..e5b338e 100644 (file)
@@ -207,7 +207,6 @@ class ResourceLoaderImageModuleTest extends ResourceLoaderTestCase {
 <<<TEXT
 background-image: url(rasterized.png);
        background-image: linear-gradient(transparent, transparent), url(original.svg);
-       background-image: -o-linear-gradient(transparent, transparent), url(rasterized.png);
 TEXT
                        ],
                        [
@@ -215,7 +214,6 @@ TEXT
 <<<TEXT
 background-image: url(rasterized.png);
        background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml);
-       background-image: -o-linear-gradient(transparent, transparent), url(rasterized.png);
 TEXT
                        ],