MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/77560
Change subject: HTTPS
......................................................................
HTTPS
Change-Id: Ica0958ebf35a82d6d0d32b3ab74afcc815ea1530
---
M MobileFrontend.i18n.php
M MobileFrontend.php
M includes/DeviceDetection.php
M includes/formatters/MobileFormatterWML.php
M javascripts/modules/mf-inline-style-scrubber.js
M javascripts/modules/nearby/NearbyApi.js
M javascripts/modules/uploads/PhotoApi.js
7 files changed, 12 insertions(+), 12 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/60/77560/1
diff --git a/MobileFrontend.i18n.php b/MobileFrontend.i18n.php
index a8b6b94..1214e02 100644
--- a/MobileFrontend.i18n.php
+++ b/MobileFrontend.i18n.php
@@ -314,7 +314,7 @@
$messages['qqq'] = array(
'nearby' => 'Description of Special:Nearby on Special:SpecialPages',
- 'mobile-frontend-desc' => '{{desc|name=Mobile
Frontend|url=http://www.mediawiki.org/wiki/Extension:MobileFrontend}}',
+ 'mobile-frontend-desc' => '{{desc|name=Mobile
Frontend|url=https://www.mediawiki.org/wiki/Extension:MobileFrontend}}',
'mobile.css' => '{{optional}}
*{{msg-mw|Mobile.js}} (optional)
*{{msg-mw|Mobile.css}} (optional)',
@@ -1014,7 +1014,7 @@
'mobile-frontend-image-uploading-cancel' => '<a href="#">ألغِ</a> إن
طال الانتظار.',
'mobile-frontend-photo-upload-error' => 'خطأ، حاول مرة أخرى.',
'mobile-frontend-photo-upload-success-article' => 'رائع! تظهر صورتك
الأن على هذه الصفحة.',
- 'mobile-frontend-photo-license' => 'ملاحظة: سيتم نشر جميع الصور التي
تقوم بنشرها تحت
[//http://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:CC-BY-SA
رخصة المشاع الإبداعي: النسبة-الترخيص بالمثل 3.0]', # Fuzzy
+ 'mobile-frontend-photo-license' => 'ملاحظة: سيتم نشر جميع الصور التي
تقوم بنشرها تحت
[//ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:CC-BY-SA
رخصة المشاع الإبداعي: النسبة-الترخيص بالمثل 3.0]', # Fuzzy
'mobile-frontend-photo-submit' => 'إرسال',
'mobile-frontend-photo-cancel' => 'إلغاء',
'mobile-frontend-photo-upload-user-count' => '{{PLURAL:$1|ملف
واحد|ملفان|<span>$1</span> ملفات|<span>$1</span> ملفا|<span>$1</span> ملف}}',
diff --git a/MobileFrontend.php b/MobileFrontend.php
index 06d70e6..7584338 100644
--- a/MobileFrontend.php
+++ b/MobileFrontend.php
@@ -153,14 +153,14 @@
/**
* An api to which any photos should be uploaded
- * e.g. $wgMFPhotoUploadEndpoint = 'http://commons.wikimedia.org/w/api.php';
+ * e.g. $wgMFPhotoUploadEndpoint = 'https://commons.wikimedia.org/w/api.php';
* Defaults to the current wiki
*/
$wgMFPhotoUploadEndpoint = '';
/**
* An optional alternative api to query for nearby pages
- * e.g. http://en.m.wikipedia.org/w/api.php
+ * e.g. https://en.m.wikipedia.org/w/api.php
*
* If set forces nearby to operate in JSONP mode
* @var String
@@ -341,7 +341,7 @@
* Whether or not to enable the use of the X-Analytics HTTP response header
*
* This header is used for analytics purposes.
- * @see http://www.mediawiki.org/wiki/Analytics/Kraken/Data_Formats/X-Analytics
+ * @see
https://www.mediawiki.org/wiki/Analytics/Kraken/Data_Formats/X-Analytics
* @var bool
*/
$wgMFEnableXAnalyticsLogging = false;
diff --git a/includes/DeviceDetection.php b/includes/DeviceDetection.php
index 35af383..53fa2b2 100644
--- a/includes/DeviceDetection.php
+++ b/includes/DeviceDetection.php
@@ -3,7 +3,7 @@
* Mobile device detection code
*
* Copyright © 2011 Patrick Reilly
- * 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
diff --git a/includes/formatters/MobileFormatterWML.php
b/includes/formatters/MobileFormatterWML.php
index 13f4da8..e12ed3e 100644
--- a/includes/formatters/MobileFormatterWML.php
+++ b/includes/formatters/MobileFormatterWML.php
@@ -70,7 +70,7 @@
// Title::getLocalUrl doesn't work at this point since PHP
5.1.x, all objects have their destructors called
// before the output buffer callback function executes.
// Thus, globalized objects will not be available as expected
in the function.
- // This is stated to be intended behavior, as per the
following: [http://bugs.php.net/bug.php?id=40104]
+ // This is stated to be intended behavior, as per the
following: [https://bugs.php.net/bug.php?id=40104]
$defaultQuery = wfCgiToArray( preg_replace( '/^.*?(\?|$)/', '',
$this->wmlContext->getCurrentUrl() ) );
unset( $defaultQuery['seg'] );
unset( $defaultQuery['useformat'] );
diff --git a/javascripts/modules/mf-inline-style-scrubber.js
b/javascripts/modules/mf-inline-style-scrubber.js
index 90d0528..f70b4c5 100644
--- a/javascripts/modules/mf-inline-style-scrubber.js
+++ b/javascripts/modules/mf-inline-style-scrubber.js
@@ -1,7 +1,7 @@
( function( M, $ ) {
// removes all inline styles from html output
- // see http://www.mediawiki.org/wiki/Deprecating_inline_styles
+ // see https://www.mediawiki.org/wiki/Deprecating_inline_styles
$( function() {
var isSpecialPage = mw.config.get( 'wgNamespaceNumber' ) ===
mw.config.get( 'wgNamespaceIds' ).special;
function scrub( $container ) {
diff --git a/javascripts/modules/nearby/NearbyApi.js
b/javascripts/modules/nearby/NearbyApi.js
index 2f49c10..f5aa728 100644
--- a/javascripts/modules/nearby/NearbyApi.js
+++ b/javascripts/modules/nearby/NearbyApi.js
@@ -8,7 +8,7 @@
// FIXME: Api should surely know this and return it in response to save
us the hassle
// FIXME: Add some tests :)
- // haversine formula ( http://en.wikipedia.org/wiki/Haversine_formula )
+ // haversine formula ( https://en.wikipedia.org/wiki/Haversine_formula )
function calculateDistance( from, to ) {
var distance, a,
toRadians = Math.PI / 180,
diff --git a/javascripts/modules/uploads/PhotoApi.js
b/javascripts/modules/uploads/PhotoApi.js
index bd4cab1..b76cd4a 100644
--- a/javascripts/modules/uploads/PhotoApi.js
+++ b/javascripts/modules/uploads/PhotoApi.js
@@ -13,13 +13,13 @@
// JavaScript strings are UTF-16.
codeUnit = str.charCodeAt( i );
- // http://en.wikipedia.org/wiki/UTF-8#Description
+ // https://en.wikipedia.org/wiki/UTF-8#Description
if ( codeUnit < 0x80 ) {
len = 1;
} else if ( codeUnit < 0x800 ) {
len = 2;
} else if ( codeUnit >= 0xd800 && codeUnit < 0xe000 ) {
- //
http://en.wikipedia.org/wiki/UTF-16#Description
+ //
https://en.wikipedia.org/wiki/UTF-16#Description
// Code point is one half of a surrogate pair.
// This and its partner combine to form a
single 4 byte character in UTF-8.
len = 4;
@@ -63,7 +63,7 @@
fileSuffix = fileSuffix || '.jpg';
date = date || new Date();
name = description.replace(
/[\x1B\n\x7f\.\[#<>\[\]\|\{\}\/:]/g, '-' );
- //
http://commons.wikimedia.org/wiki/MediaWiki:Titleblacklist-custom-double-apostrophe
+ //
https://commons.wikimedia.org/wiki/MediaWiki:Titleblacklist-custom-double-apostrophe
name = name.replace( /''/g, '\'_' );
function pad( number ) {
--
To view, visit https://gerrit.wikimedia.org/r/77560
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica0958ebf35a82d6d0d32b3ab74afcc815ea1530
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits