EBernhardson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/232370

Change subject: Update default api uri to use https
......................................................................

Update default api uri to use https

I was having issues getting schema's to load in my vagrant
instance, it turns out this http link is redirecting to
https but the http client used by EventLogging doesn't follow
these redirects.

Could alternatively add some option for the http client to
follow redirects, but since the canonical uri is https that
can be delt with separately from this patch.

Change-Id: Ic344820ff9ffd2ec5c114b9e20557d16a5f84805
---
M EventLogging.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EventLogging 
refs/changes/70/232370/1

diff --git a/EventLogging.php b/EventLogging.php
index 553b1eb..23ca390 100644
--- a/EventLogging.php
+++ b/EventLogging.php
@@ -79,9 +79,9 @@
  * @var bool|string: URI or false if not set.
  * URI of api.php on schema wiki.
  *
- * @example string: 'http://meta.wikimedia.org/w/api.php'
+ * @example string: 'https://meta.wikimedia.org/w/api.php'
  */
-$wgEventLoggingSchemaApiUri = 'http://meta.wikimedia.org/w/api.php';
+$wgEventLoggingSchemaApiUri = 'https://meta.wikimedia.org/w/api.php';
 
 /**
  * @var bool|string: Value of $wgDBname for the MediaWiki instance

-- 
To view, visit https://gerrit.wikimedia.org/r/232370
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic344820ff9ffd2ec5c114b9e20557d16a5f84805
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to