Fomafix has uploaded a new change for review. https://gerrit.wikimedia.org/r/314871
Change subject: Update weblinks in comments from HTTP to HTTPS ...................................................................... Update weblinks in comments from HTTP to HTTPS Use HTTPS instead of HTTP where the HTTP link is a redirect to the HTTPS link. Change-Id: I06d9e043730accc4ae71b927e0f8229f0fc3b340 --- M includes/content/WikiTextStructure.php M languages/Language.php M languages/classes/LanguageIu.php M languages/classes/LanguageRu.php M languages/classes/LanguageShi.php M languages/classes/LanguageTr.php M languages/messages/MessagesKn.php M languages/messages/MessagesNn.php M resources/src/mediawiki/mediawiki.experiments.js M tests/phpunit/includes/XmlSelectTest.php M tests/phpunit/includes/parser/PreprocessorTest.php M tests/phpunit/languages/classes/LanguageTrTest.php 12 files changed, 24 insertions(+), 24 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/71/314871/1 diff --git a/includes/content/WikiTextStructure.php b/includes/content/WikiTextStructure.php index fe12ff7..f4a6dc6 100644 --- a/includes/content/WikiTextStructure.php +++ b/includes/content/WikiTextStructure.php @@ -77,7 +77,7 @@ $heading = $heading[ 'line' ]; // Some wikis wrap the brackets in a span: - // http://en.wikipedia.org/wiki/MediaWiki:Cite_reference_link + // https://en.wikipedia.org/wiki/MediaWiki:Cite_reference_link $heading = preg_replace( '/<\/?span>/', '', $heading ); // Normalize [] so the following regexp would work. $heading = preg_replace( [ '/[/', '/]/' ], [ '[', ']' ], $heading ); diff --git a/languages/Language.php b/languages/Language.php index 3e28759..828bba1 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -291,7 +291,7 @@ # Since these are limited, this is safe even later changes to the registry -- # the only oddity is that it might change the type of the tag, and thus # the results from the capturing groups. - # http://www.iana.org/assignments/language-subtag-registry + # https://www.iana.org/assignments/language-subtag-registry $grandfathered = "en{$s}GB{$s}oed" . "|i{$s}(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)" @@ -1623,7 +1623,7 @@ * * Based on a PHP-Nuke block by Sharjeel which is released under GNU/GPL license * - * @see http://phpnuke.org/modules.php?name=News&file=article&sid=8234&mode=thread&order=0&thold=0 + * @see https://www.phpnuke.org/modules.php?name=News&file=article&sid=8234&mode=thread&order=0&thold=0 * * @param string $ts * @@ -1852,9 +1852,9 @@ * Algorithm to convert Gregorian dates to Thai solar dates, * Minguo dates or Minguo dates. * - * Link: http://en.wikipedia.org/wiki/Thai_solar_calendar - * http://en.wikipedia.org/wiki/Minguo_calendar - * http://en.wikipedia.org/wiki/Japanese_era_name + * Link: https://en.wikipedia.org/wiki/Thai_solar_calendar + * https://en.wikipedia.org/wiki/Minguo_calendar + * https://en.wikipedia.org/wiki/Japanese_era_name * * @param string $ts 14-character timestamp * @param string $cName Calender name @@ -2593,7 +2593,7 @@ public function iconv( $in, $out, $string ) { # Even with //IGNORE iconv can whine about illegal characters in # *input* string. We just ignore those too. - # REF: http://bugs.php.net/bug.php?id=37166 + # REF: https://bugs.php.net/bug.php?id=37166 # REF: https://phabricator.wikimedia.org/T18885 MediaWiki\suppressWarnings(); $text = iconv( $in, $out . '//IGNORE', $string ); diff --git a/languages/classes/LanguageIu.php b/languages/classes/LanguageIu.php index 4003bdd..a2288d0 100644 --- a/languages/classes/LanguageIu.php +++ b/languages/classes/LanguageIu.php @@ -28,7 +28,7 @@ * * * Based on: - * - http://commons.wikimedia.org/wiki/Image:Inuktitut.png + * - https://commons.wikimedia.org/wiki/Image:Inuktitut.png * - LanguageSr.php * * @ingroup Language diff --git a/languages/classes/LanguageRu.php b/languages/classes/LanguageRu.php index 60384a8..c2560a4 100644 --- a/languages/classes/LanguageRu.php +++ b/languages/classes/LanguageRu.php @@ -70,7 +70,7 @@ /** * Four-digit number should be without group commas (spaces) - * See manual of style at http://ru.wikipedia.org/wiki/Википедия:Оформление_статей + * See manual of style at https://ru.wikipedia.org/wiki/Википедия:Оформление_статей * So "1 234 567", "12 345" but "1234" * * @param string $_ diff --git a/languages/classes/LanguageShi.php b/languages/classes/LanguageShi.php index 61aba70..0de396d 100644 --- a/languages/classes/LanguageShi.php +++ b/languages/classes/LanguageShi.php @@ -28,7 +28,7 @@ * * * Based on: - * - http://en.wikipedia.org/wiki/Shilha_language + * - https://en.wikipedia.org/wiki/Shilha_language * - LanguageSr.php * * @ingroup Language diff --git a/languages/classes/LanguageTr.php b/languages/classes/LanguageTr.php index c947341..42ee44d 100644 --- a/languages/classes/LanguageTr.php +++ b/languages/classes/LanguageTr.php @@ -27,7 +27,7 @@ * Turkish has two different i, one with a dot and another without a dot. They * are totally different letters in this language, so we have to override the * ucfirst and lcfirst methods. - * See http://en.wikipedia.org/wiki/Dotted_and_dotless_I + * See https://en.wikipedia.org/wiki/Dotted_and_dotless_I * and @bug 28040 * @ingroup Language */ diff --git a/languages/messages/MessagesKn.php b/languages/messages/MessagesKn.php index 108f777..5d846ea 100644 --- a/languages/messages/MessagesKn.php +++ b/languages/messages/MessagesKn.php @@ -7,11 +7,11 @@ * @file * * @author Akoppad - * @author Ashwath Mattur <ashwat...@gmail.com> http://en.wikipedia.org/wiki/User:Ashwatham + * @author Ashwath Mattur <ashwat...@gmail.com> https://en.wikipedia.org/wiki/User:Ashwatham * @author Dimension10 * @author Dipin * @author HPN - * @author Hari Prasad Nadig <hpna...@gmail.com> http://en.wikipedia.org/wiki/User:Hpnadig + * @author Hari Prasad Nadig <hpna...@gmail.com> https://en.wikipedia.org/wiki/User:Hpnadig * @author Kaganer * @author Ktkaushik * @author M G Harish diff --git a/languages/messages/MessagesNn.php b/languages/messages/MessagesNn.php index b8ae8d7..5ceafd1 100644 --- a/languages/messages/MessagesNn.php +++ b/languages/messages/MessagesNn.php @@ -38,8 +38,8 @@ * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License * - * @see http://meta.wikimedia.org/w/index.php?title=LanguageNn.php&action=history - * @see http://nn.wikipedia.org/w/index.php?title=Brukar:Dittaeva/LanguageNn.php&action=history + * @see https://meta.wikimedia.org/w/index.php?title=LanguageNn.php&action=history + * @see https://nn.wikipedia.org/w/index.php?title=Brukar:Dittaeva/LanguageNn.php&action=history */ $datePreferences = [ diff --git a/resources/src/mediawiki/mediawiki.experiments.js b/resources/src/mediawiki/mediawiki.experiments.js index ad1069f..49ff411 100644 --- a/resources/src/mediawiki/mediawiki.experiments.js +++ b/resources/src/mediawiki/mediawiki.experiments.js @@ -7,14 +7,14 @@ /** * An implementation of Jenkins' one-at-a-time hash. * - * @see http://en.wikipedia.org/wiki/Jenkins_hash_function + * @see https://en.wikipedia.org/wiki/Jenkins_hash_function * * @param {string} string String to hash * @return {number} The hash as a 32-bit unsigned integer * @ignore * * @author Ori Livneh <o...@wikimedia.org> - * @see http://jsbin.com/kejewi/4/watch?js,console + * @see https://jsbin.com/kejewi/4/watch?js,console */ function hashString( string ) { var hash = 0, diff --git a/tests/phpunit/includes/XmlSelectTest.php b/tests/phpunit/includes/XmlSelectTest.php index f80f512..52e20bd 100644 --- a/tests/phpunit/includes/XmlSelectTest.php +++ b/tests/phpunit/includes/XmlSelectTest.php @@ -50,7 +50,7 @@ /** * Values are set following a 3-bit Gray code where two successive * values differ by only one value. - * See http://en.wikipedia.org/wiki/Gray_code + * See https://en.wikipedia.org/wiki/Gray_code */ # $name $id $default [ false, false, false, '<select></select>' ], diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php index 6710b19..c491e6b 100644 --- a/tests/phpunit/includes/parser/PreprocessorTest.php +++ b/tests/phpunit/includes/parser/PreprocessorTest.php @@ -210,10 +210,10 @@ public static function provideFiles() { // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong return self::addClassArg( [ - [ "QuoteQuran" ], # http://en.wikipedia.org/w/index.php?title=Template:QuoteQuran/sandbox&oldid=237348988 GFDL + CC BY-SA by Striver - [ "Factorial" ], # http://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 GFDL + CC BY-SA by Polonium - [ "All_system_messages" ], # http://tl.wiktionary.org/w/index.php?title=Suleras:All_system_messages&oldid=2765 GPL text generated by MediaWiki - [ "Fundraising" ], # http://tl.wiktionary.org/w/index.php?title=MediaWiki:Sitenotice&oldid=5716 GFDL + CC BY-SA, copied there by Sky Harbor. + [ "QuoteQuran" ], # https://en.wikipedia.org/w/index.php?title=Template:QuoteQuran/sandbox&oldid=237348988 GFDL + CC BY-SA by Striver + [ "Factorial" ], # https://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 GFDL + CC BY-SA by Polonium + [ "All_system_messages" ], # https://tl.wiktionary.org/w/index.php?title=Suleras:All_system_messages&oldid=2765 GPL text generated by MediaWiki + [ "Fundraising" ], # https://tl.wiktionary.org/w/index.php?title=MediaWiki:Sitenotice&oldid=5716 GFDL + CC BY-SA, copied there by Sky Harbor. [ "NestedTemplates" ], # bug 27936 ] ); // @codingStandardsIgnoreEnd diff --git a/tests/phpunit/languages/classes/LanguageTrTest.php b/tests/phpunit/languages/classes/LanguageTrTest.php index 206e608..9a1823b 100644 --- a/tests/phpunit/languages/classes/LanguageTrTest.php +++ b/tests/phpunit/languages/classes/LanguageTrTest.php @@ -14,7 +14,7 @@ * - berm * - []LuCkY[] * - Emperyan - * @see http://en.wikipedia.org/wiki/Dotted_and_dotless_I + * @see https://en.wikipedia.org/wiki/Dotted_and_dotless_I * @dataProvider provideDottedAndDotlessI * @covers Language::ucfirst * @covers Language::lcfirst @@ -49,7 +49,7 @@ [ 'lcfirst', 'i', 'lower', 'i' ], # A real example taken from bug 28040 using - # http://tr.wikipedia.org/wiki/%C4%B0Phone + # https://tr.wikipedia.org/wiki/%C4%B0Phone [ 'lcfirst', 'iPhone', 'lower', 'iPhone' ], # next case is valid in Turkish but are different words if we -- To view, visit https://gerrit.wikimedia.org/r/314871 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I06d9e043730accc4ae71b927e0f8229f0fc3b340 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Fomafix <foma...@googlemail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits