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

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib401d988b330df97eefa7228d8a3ccfb45ad58e0
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Ricordisamoa <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to