jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/577734 )
Change subject: [bugfix] Fix wowwiki nn code alias ......................................................................
[bugfix] Fix wowwiki nn code alias
Change-Id: Idc61a549bdff0e023b65a957b2816ce9849ab892 --- M pywikibot/families/wowwiki_family.py 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/families/wowwiki_family.py b/pywikibot/families/wowwiki_family.py index 2727a38..47466ad 100644 --- a/pywikibot/families/wowwiki_family.py +++ b/pywikibot/families/wowwiki_family.py @@ -20,12 +20,14 @@
codes = ( 'ar', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fa', 'fi', 'fr', 'he', - 'hu', 'is', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'nn', 'no', 'pl', 'pt', + 'hu', 'is', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'no', 'pl', 'pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'zh', 'zh-tw' )
removed_wikis = ['hr', 'ro', 'sr']
+ code_aliases = {'nn': 'no'} + @classproperty @deprecated('codes attribute', since='20190422') def languages_by_size(cls):