1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-22 03:52:37 +01:00

Make sure the url has https:// in it

This commit is contained in:
Amir Sarabadani 2020-12-16 14:08:22 +01:00
parent bf19b46199
commit 17fd21cffe

View file

@ -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)