aboutsummaryrefslogtreecommitdiffstats
path: root/includes/utils/UIDGenerator.php
diff options
context:
space:
mode:
authorFomafix <fomafix@googlemail.com>2016-10-13 07:34:26 +0200
committerFomafix <fomafix@googlemail.com>2016-11-07 15:24:46 +0100
commit202f695f671bb1b6c25ebec219da348e9935692e (patch)
treeed96b5c3b090495e649e09792047176ac0c0a053 /includes/utils/UIDGenerator.php
parent296c00a6e1a0a174d16117f377d554d8c776b95b (diff)
downloadmediawikicore-202f695f671bb1b6c25ebec219da348e9935692e.tar.gz
mediawikicore-202f695f671bb1b6c25ebec219da348e9935692e.zip
Update weblinks in comments from HTTP to HTTPS
Use HTTPS instead of HTTP where the HTTP link is a redirect to the HTTPS link. Also update some defect links. Change-Id: Ic3a5eac910d098ed5c2a21e9f47c9b6ee06b2643
Diffstat (limited to 'includes/utils/UIDGenerator.php')
-rw-r--r--includes/utils/UIDGenerator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/utils/UIDGenerator.php b/includes/utils/UIDGenerator.php
index 95b4463abd06..b9f51b6bbf39 100644
--- a/includes/utils/UIDGenerator.php
+++ b/includes/utils/UIDGenerator.php
@@ -56,13 +56,13 @@ class UIDGenerator {
if ( !preg_match( '/^[0-9a-f]{12}$/i', $nodeId ) ) {
MediaWiki\suppressWarnings();
if ( wfIsWindows() ) {
- // http://technet.microsoft.com/en-us/library/bb490913.aspx
+ // https://technet.microsoft.com/en-us/library/bb490913.aspx
$csv = trim( wfShellExec( 'getmac /NH /FO CSV' ) );
$line = substr( $csv, 0, strcspn( $csv, "\n" ) );
$info = str_getcsv( $line );
$nodeId = isset( $info[0] ) ? str_replace( '-', '', $info[0] ) : '';
} elseif ( is_executable( '/sbin/ifconfig' ) ) { // Linux/BSD/Solaris/OS X
- // See http://linux.die.net/man/8/ifconfig
+ // See https://linux.die.net/man/8/ifconfig
$m = [];
preg_match( '/\s([0-9a-f]{2}(:[0-9a-f]{2}){5})\s/',
wfShellExec( '/sbin/ifconfig -a' ), $m );
@@ -517,7 +517,7 @@ class UIDGenerator {
protected function timeWaitUntil( array $time ) {
do {
$ct = self::millitime();
- if ( $ct >= $time ) { // http://php.net/manual/en/language.operators.comparison.php
+ if ( $ct >= $time ) { // https://secure.php.net/manual/en/language.operators.comparison.php
return $ct; // current timestamp is higher than $time
}
} while ( ( ( $time[0] - $ct[0] ) * 1000 + ( $time[1] - $ct[1] ) ) <= 10 );