Skip to content

Commit

Permalink
Add support for new wikis
Browse files Browse the repository at this point in the history
* tcywikisource
* tcywiktionary

Bug: T378473
Bug: T378465
Change-Id: Ie17870de9d8d3b55aed333a9f7e67df34bbaeba5
  • Loading branch information
Meno25 committed Oct 30, 2024
1 parent 55f1586 commit 84a7294
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pywikibot/families/wikisource_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class Family(family.SubdomainFamily, family.WikimediaFamily):
'ja', 'jv', 'ka', 'kn', 'ko', 'la', 'li', 'lij', 'lt', 'mk', 'ml',
'mr', 'ms', 'mul', 'my', 'nap', 'nl', 'no', 'or', 'pa', 'pl', 'pms',
'pt', 'ro', 'ru', 'sa', 'sah', 'sk', 'sl', 'sr', 'su', 'sv', 'ta',
'te', 'th', 'tr', 'uk', 'vec', 'vi', 'wa', 'yi', 'zh', 'zh-min-nan',
'tcy', 'te', 'th', 'tr', 'uk', 'vec', 'vi', 'wa', 'yi', 'zh',
'zh-min-nan',
}

# Sites we want to edit but not count as real languages
Expand Down
6 changes: 3 additions & 3 deletions pywikibot/families/wiktionary_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class Family(family.SubdomainFamily, family.WikimediaFamily):
'oc', 'om', 'or', 'pa', 'pl', 'pnb', 'ps', 'pt', 'qu', 'ro', 'roa-rup',
'ru', 'rw', 'sa', 'scn', 'sd', 'sg', 'sh', 'shn', 'shy', 'si',
'simple', 'sk', 'skr', 'sl', 'sm', 'so', 'sq', 'sr', 'ss', 'st', 'su',
'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'tpi',
'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec', 'vi', 'vo', 'wa',
'wo', 'yi', 'yue', 'zh', 'zh-min-nan', 'zu',
'sv', 'sw', 'ta', 'tcy', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn',
'tpi', 'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec', 'vi', 'vo',
'wa', 'wo', 'yi', 'yue', 'zh', 'zh-min-nan', 'zu',
}

category_redirect_templates = {
Expand Down

0 comments on commit 84a7294

Please sign in to comment.