jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1340536?usp=email )
Change subject: families: Fix Beta Wikisource author namespace key
......................................................................
families: Fix Beta Wikisource author namespace key
The Beta Wikisource family uses the language code en, but its
authornamespaces entry still uses beta from wikisource:beta.
DrySite therefore raises KeyError when building its namespaces,
breaking offline tests configured for betawikisource:en.
Use en for the Author namespace entry, retaining namespace 102.
Follow-up to 120ba68209.
Change-Id: I1c5b17e7718a32b6759c055d9e46b3b2d044bad6
---
M pywikibot/families/betawikisource_family.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Mahveotm: Looks good to me, approved
diff --git a/pywikibot/families/betawikisource_family.py
b/pywikibot/families/betawikisource_family.py
index 39ff2f1..9dfec3c 100644
--- a/pywikibot/families/betawikisource_family.py
+++ b/pywikibot/families/betawikisource_family.py
@@ -19,5 +19,5 @@
authornamespaces = {
'_default': [0],
- 'beta': [102],
+ 'en': [102],
}
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1340536?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I1c5b17e7718a32b6759c055d9e46b3b2d044bad6
Gerrit-Change-Number: 1340536
Gerrit-PatchSet: 2
Gerrit-Owner: Mahveotm <[email protected]>
Gerrit-Reviewer: Mahveotm <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]