From: Fomafix Date: Sun, 21 Jan 2018 00:41:04 +0000 (+0100) Subject: Use HTTPS instead of HTTP for caniuse.com X-Git-Tag: 1.31.0-rc.0~846^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_user_edit%27%2C%20iduser=user.userid%29%20%7D%7D?a=commitdiff_plain;h=a6d53cf4a80f3f79080637fca8cc519e4f1be462;p=lhc%2Fweb%2Fwiklou.git Use HTTPS instead of HTTP for caniuse.com http://caniuse.com/ redirects to https://caniuse.com/ Change-Id: Iea8de252320a5a3aeda83dc21df5e51de2faf66c --- 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