From a6d53cf4a80f3f79080637fca8cc519e4f1be462 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sun, 21 Jan 2018 01:41:04 +0100 Subject: [PATCH] Use HTTPS instead of HTTP for caniuse.com http://caniuse.com/ redirects to https://caniuse.com/ Change-Id: Iea8de252320a5a3aeda83dc21df5e51de2faf66c --- resources/src/mediawiki.ui/components/icons.less | 2 +- resources/src/startup.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/src/mediawiki.ui/components/icons.less b/resources/src/mediawiki.ui/components/icons.less index a7ce2e760b..d185b24ab2 100644 --- a/resources/src/mediawiki.ui/components/icons.less +++ b/resources/src/mediawiki.ui/components/icons.less @@ -14,7 +14,7 @@ // // To use icons you must be using a browser that supports pseudo elements. // This includes support for IE 8. -// http://caniuse.com/#feat=css-gencontent +// https://caniuse.com/#feat=css-gencontent // // For elements that are intended to have both an icon and text, browsers that // do not support pseudo-selectors will degrade to text-only. diff --git a/resources/src/startup.js b/resources/src/startup.js index 8e8463d251..596c118150 100644 --- a/resources/src/startup.js +++ b/resources/src/startup.js @@ -63,23 +63,23 @@ window.mwNow = ( function () { window.isCompatible = function ( str ) { var ua = str || navigator.userAgent; return !!( - // http://caniuse.com/#feat=es5 - // http://caniuse.com/#feat=use-strict - // http://caniuse.com/#feat=json / https://phabricator.wikimedia.org/T141344#2784065 + // https://caniuse.com/#feat=es5 + // https://caniuse.com/#feat=use-strict + // https://caniuse.com/#feat=json / https://phabricator.wikimedia.org/T141344#2784065 ( function () { 'use strict'; return !this && !!Function.prototype.bind && !!window.JSON; }() ) && - // http://caniuse.com/#feat=queryselector + // https://caniuse.com/#feat=queryselector 'querySelector' in document && - // http://caniuse.com/#feat=namevalue-storage + // https://caniuse.com/#feat=namevalue-storage // https://developer.blackberry.com/html5/apis/v1_0/localstorage.html // https://blog.whatwg.org/this-week-in-html-5-episode-30 'localStorage' in window && - // http://caniuse.com/#feat=addeventlistener + // https://caniuse.com/#feat=addeventlistener 'addEventListener' in window && // Hardcoded exceptions for browsers that pass the requirement but we don't want to -- 2.20.1