Merge "Update weblinks in comments to msdn.microsoft.com"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 25 Jun 2017 10:35:55 +0000 (10:35 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 25 Jun 2017 10:35:55 +0000 (10:35 +0000)
includes/Sanitizer.php
includes/api/ApiOpenSearch.php
tests/phpunit/includes/HtmlTest.php

index 8920e92..8424432 100644 (file)
@@ -793,7 +793,7 @@ class Sanitizer {
                        }
 
                        # Strip javascript "expression" from stylesheets.
-                       # http://msdn.microsoft.com/workshop/author/dhtml/overview/recalc.asp
+                       # https://msdn.microsoft.com/en-us/library/ms537634.aspx
                        if ( $attribute == 'style' ) {
                                $value = Sanitizer::checkCss( $value );
                        }
index ff65d0e..9eb5793 100644 (file)
@@ -232,7 +232,7 @@ class ApiOpenSearch extends ApiBase {
                                break;
 
                        case 'xml':
-                               // http://msdn.microsoft.com/en-us/library/cc891508%28v=vs.85%29.aspx
+                               // https://msdn.microsoft.com/en-us/library/cc891508(v=vs.85).aspx
                                $imageKeys = [
                                        'source' => true,
                                        'alt' => true,
index 115a8cf..f3d4916 100644 (file)
@@ -588,7 +588,7 @@ class HtmlTest extends MediaWikiTestCase {
                ];
 
                # <button> specific handling
-               # see remarks on http://msdn.microsoft.com/en-us/library/ie/ms535211%28v=vs.85%29.aspx
+               # see remarks on https://msdn.microsoft.com/library/ms535211(v=vs.85).aspx
                $cases[] = [ '<button type="submit"></button>',
                        'button', [ 'type' => 'submit' ],
                        'According to standard the default type is "submit". '