Ricordisamoa has uploaded a new change for review.

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

Change subject: Access Wikipedia API via HTTPS
......................................................................

Access Wikipedia API via HTTPS

urllib.error.HTTPError: HTTP Error 403: Insecure Request Forbidden - use HTTPS
 - 
https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-May/000110.html

Change-Id: Ib2f7e96ad40d2080b479c3f953f201b318f6c439
---
M mappings.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/translatemplate 
refs/changes/95/312195/1

diff --git a/mappings.py b/mappings.py
index e4d513b..3ed4f47 100644
--- a/mappings.py
+++ b/mappings.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 """
-Copyright 2015 Ricordisamoa
+Copyright 2015-2016 Ricordisamoa
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
 import mwparserfromhell
 
 MARKER = u'\ue0ff'
-WIKIPEDIA_API = 'http://{}.wikipedia.org/w/api.php'
+WIKIPEDIA_API = 'https://{}.wikipedia.org/w/api.php'
 DBPEDIA_API = 'http://mappings.dbpedia.org/api.php'
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2f7e96ad40d2080b479c3f953f201b318f6c439
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/translatemplate
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisa...@openmailbox.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to