jenkins-bot has submitted this change and it was merged.
Change subject: wikimedia chapter family countrylangs is unused ......................................................................
wikimedia chapter family countrylangs is unused
This datastructure was used in compat to replicate the site namespaces for a country coded wiki from a namespaces of a language.
Namespaces are dynamic in core.
Change-Id: Ib401d988b330df97eefa7228d8a3ccfb45ad58e0 --- M pywikibot/families/wikimediachapter_family.py 1 file changed, 0 insertions(+), 7 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved Ricordisamoa: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pywikibot/families/wikimediachapter_family.py b/pywikibot/families/wikimediachapter_family.py index b240954..26890c0 100644 --- a/pywikibot/families/wikimediachapter_family.py +++ b/pywikibot/families/wikimediachapter_family.py @@ -21,12 +21,5 @@ 'nyc', 'pl', 'rs', 'ru', 'se', 'ua', 'uk', 've', ]
- self.countrylangs = { - 'ar': 'es', 'br': 'pt-br', 'bd': 'bn', 'co': 'es', 'dk': 'da', - 'fi': 'fi', 'mk': 'mk', 'mx': 'es', 'nl': 'nl', 'no': 'no', - 'nyc': 'en', 'pl': 'pl', 'rs': 'sr', 'ru': 'ru', 'se': 'sv', - 'ua': 'uk', 'uk': 'en-gb', 've': 'en', - } - self.langs = dict([(country, '%s.wikimedia.org' % country) for country in self.countries])
pywikibot-commits@lists.wikimedia.org