Xqt has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/359405 )

Change subject: Add atjwiki to wikipedia family file
......................................................................

Add atjwiki to wikipedia family file

- also add fallback to "fr"

Bug: T168049
Change-Id: I6563bcf45f91e81ea578241b11c1692bc96fa57d
---
M pywikibot/families/wikipedia_family.py
M pywikibot/i18n.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/05/359405/1

diff --git a/pywikibot/families/wikipedia_family.py 
b/pywikibot/families/wikipedia_family.py
index f31b8c0..1dee07d 100644
--- a/pywikibot/families/wikipedia_family.py
+++ b/pywikibot/families/wikipedia_family.py
@@ -64,7 +64,7 @@
             'dty', 'zu', 'ltg', 'chr', 'tcy', 'sm', 'om', 'xh', 'tn', 'chy',
             'tw', 'rmy', 'cu', 'tum', 'pih', 'got', 'rn', 'pnt', 'ss', 'bm',
             'ch', 'ts', 'ady', 'iu', 'st', 'fj', 'ny', 'ee', 'ak', 'ks', 'ik',
-            'sg', 've', 'dz', 'ff', 'ti', 'cr',
+            'sg', 've', 'dz', 'ff', 'ti', 'cr', 'atj',
         ]
 
         # Sites we want to edit but not count as real languages
diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py
index aec1f26..51432d8 100644
--- a/pywikibot/i18n.py
+++ b/pywikibot/i18n.py
@@ -175,7 +175,7 @@
     if code == 'fit':
         return ['fi', 'sv']
     # French
-    if code in ['bm', 'br', 'ht', 'kg', 'ln', 'mg', 'nrm', 'pcd',
+    if code in ['atj', 'bm', 'br', 'ht', 'kg', 'ln', 'mg', 'nrm', 'pcd',
                 'rw', 'sg', 'ty', 'wa']:
         return ['fr']
     if code == 'oc':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6563bcf45f91e81ea578241b11c1692bc96fa57d
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>

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

Reply via email to