Changing URLs of mediawiki.org in scripts to the SSL-based website

http://www.mediawiki.org --> https://www.mediawiki.org

Part 2

Change-Id: I3be61fe3dfb502cc20180486eb1a8016eac151df
This commit is contained in:
Ladsgroup 2014-03-12 22:30:35 +00:00
parent d9d4fa85f8
commit 1ba0445c12
17 changed files with 29 additions and 29 deletions

View file

@ -2,7 +2,7 @@
/**
* Image authorisation script
*
* To use this, see http://www.mediawiki.org/wiki/Manual:Image_Authorization
* To use this, see https://www.mediawiki.org/wiki/Manual:Image_Authorization
*
* - Set $wgUploadDirectory to a non-public directory (not web accessible)
* - Set $wgUploadPath to point to this file

View file

@ -3,7 +3,7 @@
* Authentication plugin interface
*
* Copyright © 2004 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -15,7 +15,7 @@
* performed in LocalSettings.php.
*
* Documentation is in the source and on:
* http://www.mediawiki.org/wiki/Manual:Configuration_settings
* https://www.mediawiki.org/wiki/Manual:Configuration_settings
*
* @warning Note: this (and other things) will break if the autoloader is not
* enabled. Please include includes/AutoLoader.php before including this file.
@ -2256,7 +2256,7 @@ $wgInvalidateCacheOnLocalSettingsChange = true;
* although they are referred to as Squid settings for historical reasons.
*
* Achieving a high hit ratio with an HTTP proxy requires special
* configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for
* configuration. See https://www.mediawiki.org/wiki/Manual:Squid_caching for
* more details.
*
* @{
@ -2264,7 +2264,7 @@ $wgInvalidateCacheOnLocalSettingsChange = true;
/**
* Enable/disable Squid.
* See http://www.mediawiki.org/wiki/Manual:Squid_caching
* See https://www.mediawiki.org/wiki/Manual:Squid_caching
*/
$wgUseSquid = false;
@ -3927,7 +3927,7 @@ $wgTranscludeCacheExpiry = 3600;
* if $wgUseCommaCount is false, it will be 'link', if it is true
* it will be 'comma'
*
* See also See http://www.mediawiki.org/wiki/Manual:Article_count
* See also See https://www.mediawiki.org/wiki/Manual:Article_count
*
* Retroactively changing this variable will not affect the existing count,
* to update it, you will need to run the maintenance/updateArticleCount.php
@ -4173,7 +4173,7 @@ $wgBlockDisablesLogin = false;
*
* @note Also that this will only protect _pages in the wiki_. Uploaded files
* will remain readable. You can use img_auth.php to protect uploaded files,
* see http://www.mediawiki.org/wiki/Manual:Image_Authorization
* see https://www.mediawiki.org/wiki/Manual:Image_Authorization
*/
$wgWhitelistRead = false;
@ -4910,7 +4910,7 @@ $wgUseTeX = false;
*/
/**
* Filename for debug logging. See http://www.mediawiki.org/wiki/How_to_debug
* Filename for debug logging. See https://www.mediawiki.org/wiki/How_to_debug
* The debug log file should be not be publicly accessible if it is used, as it
* may contain private data.
*/
@ -5197,7 +5197,7 @@ $wgParserTestFiles = array(
*
* Something like this:
* $wgParserTestRemote = array(
* 'api-url' => 'http://www.mediawiki.org/w/api.php',
* 'api-url' => 'https://www.mediawiki.org/w/api.php',
* 'repo' => 'MediaWiki',
* 'suite' => 'ParserTests',
* 'path' => '/trunk/phase3', // not used client-side; for reference
@ -6605,7 +6605,7 @@ $wgExemptFromUserRobotsControl = null;
* Enable the MediaWiki API for convenient access to
* machine-readable data via api.php
*
* See http://www.mediawiki.org/wiki/API
* See https://www.mediawiki.org/wiki/API
*/
$wgEnableAPI = true;

View file

@ -3,7 +3,7 @@
* Base classes for dumps and export
*
* Copyright © 2003, 2005, 2006 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -6,7 +6,7 @@
* Available feeds are defined in Defines.php
*
* Copyright © 2004 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -3,7 +3,7 @@
* MediaWiki page data importer.
*
* Copyright © 2003,2005 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -97,9 +97,9 @@ function wfPHPVersionError( $type ) {
</p>
<p>
If for some reason you are unable to upgrade your PHP version, you will need to
<a href="http://www.mediawiki.org/wiki/Download">download</a> an older version
<a href="https://www.mediawiki.org/wiki/Download">download</a> an older version
of MediaWiki from our website. See our
<a href="http://www.mediawiki.org/wiki/Compatibility#PHP">compatibility page</a>
<a href="https://www.mediawiki.org/wiki/Compatibility#PHP">compatibility page</a>
for details of which versions are compatible with prior versions of PHP.
</p>
</div>

View file

@ -3,7 +3,7 @@
* Page protection
*
* Copyright © 2005 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -3,7 +3,7 @@
* HTML sanitizer for %MediaWiki.
*
* Copyright © 2002-2005 Brion Vibber <brion@pobox.com> et al
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -3,7 +3,7 @@
* Deal with importing all those nasty globals and things
*
* Copyright © 2003 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -127,7 +127,7 @@ class WikiMap {
class WikiReference {
private $mMinor; ///< 'en', 'meta', 'mediawiki', etc
private $mMajor; ///< 'wiki', 'wiktionary', etc
private $mCanonicalServer; ///< canonical server URL, e.g. 'http://www.mediawiki.org'
private $mCanonicalServer; ///< canonical server URL, e.g. 'https://www.mediawiki.org'
private $mServer; ///< server URL, may be protocol-relative, e.g. '//www.mediawiki.org'
private $mPath; ///< path, '/wiki/$1'

View file

@ -3,7 +3,7 @@
* Helper class for making a copy of the database, mostly for unit testing.
*
* Copyright © 2010 Chad Horohoe <chad@anyonecanedit.org>
* http://www.mediawiki.org/
* https://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -36,8 +36,8 @@
* the HTML for the input field to be placed in the table.
*
* You can find extensive documentation on the www.mediawiki.org wiki:
* - http://www.mediawiki.org/wiki/HTMLForm
* - http://www.mediawiki.org/wiki/HTMLForm/tutorial
* - https://www.mediawiki.org/wiki/HTMLForm
* - https://www.mediawiki.org/wiki/HTMLForm/tutorial
*
* The constructor input is an associative array of $fieldname => $info,
* where $info is an Associative Array with any of the following:

View file

@ -62,7 +62,7 @@ class InstallDocFormatter {
}
protected function replaceConfigLinks( $matches ) {
return '<span class="config-plainlink">[http://www.mediawiki.org/wiki/Manual:' .
return '<span class="config-plainlink">[https://www.mediawiki.org/wiki/Manual:' .
$matches[1] . ' ' . $matches[1] . ']</span>';
}
}

View file

@ -264,7 +264,7 @@ class LocalSettingsGenerator {
# file, not there.
#
# Further documentation for configuration settings may be found at:
# http://www.mediawiki.org/wiki/Manual:Configuration_settings
# https://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
@ -280,7 +280,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
## https://www.mediawiki.org/wiki/Manual:Short_URL
\$wgScriptPath = \"{$this->values['wgScriptPath']}\";
\$wgScriptExtension = \"{$this->values['wgScriptExtension']}\";
${serverSetting}

View file

@ -306,7 +306,7 @@ class WebInstallerOutput {
<div id="mw-panel">
<div class="portal" id="p-logo">
<a style="background-image: url(../skins/common/images/mediawiki.png);"
href="http://www.mediawiki.org/"
href="https://www.mediawiki.org/"
title="Main Page"></a>
</div>
<div class="portal"><div class="body">

View file

@ -48,13 +48,13 @@ class InstallDocFormatterTest extends MediaWikiTestCase {
# Transform '$wgFooBar' links
array(
'<span class="config-plainlink">[http://www.mediawiki.org/wiki/Manual:$wgFooBar $wgFooBar]</span>',
'<span class="config-plainlink">[https://www.mediawiki.org/wiki/Manual:$wgFooBar $wgFooBar]</span>',
'$wgFooBar', 'Testing basic $wgFooBar' ),
array(
'<span class="config-plainlink">[http://www.mediawiki.org/wiki/Manual:$wgFooBar45 $wgFooBar45]</span>',
'<span class="config-plainlink">[https://www.mediawiki.org/wiki/Manual:$wgFooBar45 $wgFooBar45]</span>',
'$wgFooBar45', 'Testing $wgFooBar45 (with numbers)' ),
array(
'<span class="config-plainlink">[http://www.mediawiki.org/wiki/Manual:$wgFoo_Bar $wgFoo_Bar]</span>',
'<span class="config-plainlink">[https://www.mediawiki.org/wiki/Manual:$wgFoo_Bar $wgFoo_Bar]</span>',
'$wgFoo_Bar', 'Testing $wgFoo_Bar (with underscore)' ),
# Icky variables that shouldn't link