jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
Update language_groups

* Add Moroccan Arabic (ary)
* Update comments (fix letter case)

Change-Id: If7322fff9df0d86b8c1a40fd68e39b75af0dd5b9
---
M pywikibot/family.py
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/pywikibot/family.py b/pywikibot/family.py
index 8df90ce..58e2c92 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -560,33 +560,33 @@
# Some languages belong to a group where the possibility is high that
# equivalent articles have identical titles among the group.
language_groups = {
- # languages using the arabic script (incomplete)
+ # languages using the Arabic script (incomplete)
'arab': [
- 'ar', 'arz', 'ps', 'sd', 'ur', 'bjn', 'ckb',
- # languages using multiple scripts, including arabic
+ 'ar', 'ary', 'arz', 'ps', 'sd', 'ur', 'bjn', 'ckb',
+ # languages using multiple scripts, including Arabic
'kk', 'ku', 'tt', 'ug', 'pnb'
],
- # languages that use chinese symbols
+ # languages that use Chinese symbols
'chinese': [
'wuu', 'zh', 'zh-classical', 'zh-yue', 'gan', 'ii',
- # languages using multiple/mixed scripts, including chinese
+ # languages using multiple/mixed scripts, including Chinese
'ja', 'za'
],
- # languages that use the cyrillic alphabet
+ # languages that use the Cyrillic alphabet
'cyril': [
'ab', 'av', 'ba', 'be', 'be-tarask', 'bg', 'bxr', 'ce', 'cu',
'cv', 'kbd', 'koi', 'kv', 'ky', 'mk', 'lbe', 'mdf', 'mn', 'mo',
'myv', 'mhr', 'mrj', 'os', 'ru', 'rue', 'sah', 'tg', 'tk',
'udm', 'uk', 'xal',
- # languages using multiple scripts, including cyrillic
+ # languages using multiple scripts, including Cyrillic
'ha', 'kk', 'sh', 'sr', 'tt'
],
- # languages that use a greek script
+ # languages that use a Greek script
'grec': [
'el', 'grc', 'pnt'
- # languages using multiple scripts, including greek
+ # languages using multiple scripts, including Greek
],
- # languages that use the latin alphabet
+ # languages that use the Latin alphabet
'latin': [
'aa', 'ace', 'af', 'ak', 'als', 'an', 'ang', 'ast', 'ay', 'bar',
'bat-smg', 'bcl', 'bi', 'bm', 'br', 'bs', 'ca', 'cbk-zam', 'cdo',
@@ -607,7 +607,7 @@
'tn', 'to', 'tpi', 'tr', 'ts', 'tum', 'tw', 'ty', 'uz', 've',
'vec', 'vi', 'vls', 'vo', 'wa', 'war', 'wo', 'xh', 'yo', 'zea',
'zh-min-nan', 'zu',
- # languages using multiple scripts, including latin
+ # languages using multiple scripts, including Latin
'az', 'chr', 'ckb', 'ha', 'iu', 'kk', 'ku', 'rmy', 'sh', 'sr',
'tt', 'ug', 'za'
],

To view, visit change 630415. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If7322fff9df0d86b8c1a40fd68e39b75af0dd5b9
Gerrit-Change-Number: 630415
Gerrit-PatchSet: 2
Gerrit-Owner: Meno25 <meno25mail@gmail.com>
Gerrit-Reviewer: SonarQube Bot <kharlan+sonarqubebot@wikimedia.org>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged