jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/587364 )
Change subject: [bugfix] Fix closed wikisource sites detection
......................................................................
[bugfix] Fix closed wikisource sites detection
Don't rewrite closed wikis langs by mul:wikisource
Change-Id: I8b37ae59d3653298eb3274a2991e9afd97825399
---
M pywikibot/families/wikisource_family.py
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/families/wikisource_family.py
b/pywikibot/families/wikisource_family.py
index 0e94726..f00cb91 100644
--- a/pywikibot/families/wikisource_family.py
+++ b/pywikibot/families/wikisource_family.py
@@ -73,6 +73,7 @@
aliases = cls.alphabetic + ['-', 'www']
for code in aliases:
if (code not in cls.languages_by_size
+ and code not in cls.closed_wikis
and code not in cls.code_aliases):
cls.code_aliases[code] = 'mul'
return cls.code_aliases
--
To view, visit
https://gerrit.wikimedia.org/r/587364
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8b37ae59d3653298eb3274a2991e9afd97825399
Gerrit-Change-Number: 587364
Gerrit-PatchSet: 5
Gerrit-Owner: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot (75)