From 17fd21cffe34093dbb280900592e7eb47e21e44d Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Wed, 16 Dec 2020 14:08:22 +0100 Subject: [PATCH] Make sure the url has https:// in it --- patch_makers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch_makers.py b/patch_makers.py index 32f6106..84c534c 100644 --- a/patch_makers.py +++ b/patch_makers.py @@ -24,7 +24,7 @@ class WikimediaMessagesPatchMaker(GerritBot): file_ = 'i18n/wikimediaprojectnames/qqq.json' result = self._read_json(file_) - result['project-localized-name-' + self.db_name] = '{{ProjectNameDocumentation|url=' + \ + result['project-localized-name-' + self.db_name] = '{{ProjectNameDocumentation|url=https://' + \ self.wiki_url + '|name=' + self.english_name + \ '|language=' + self.wiki_lang + '}}' self._write_json(file_, result)