jenkins-bot has submitted this change and it was merged.
Change subject: partly revert changes r11303 and fix Family.langs; update language_by_size ......................................................................
partly revert changes r11303 and fix Family.langs; update language_by_size
Change-Id: Iabda9d5e3bd270d4bf7200e38ee958f48329b6b2 --- M families/wikitravel_family.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/families/wikitravel_family.py b/families/wikitravel_family.py index 579c494..fca5eb8 100644 --- a/families/wikitravel_family.py +++ b/families/wikitravel_family.py @@ -12,11 +12,11 @@
self.languages_by_size = [ 'en', 'de', 'ja', 'it', 'nl', 'pt', 'fr', 'pl', 'es', 'fi', 'ru', - 'sv', 'hu', 'ca', 'ro', 'eo', 'hi', 'he', + 'sv', 'hu', 'ca', 'zh', 'ro', 'eo', 'ko', 'hi', 'ar', 'he', ]
- self.langs = dict([(lang, '%s.wikibooks.org' % lang) - for lang in self.languages_by_size]) + self.langs = dict([(lang, lang) for lang in self.languages_by_size]) + self.langs['wts'] = 'wts'
self.namespaces[-2] = { '_default': u'Media',
pywikibot-commits@lists.wikimedia.org