jenkins-bot submitted this change.
[tests] add test.wikidata.org and beta.wikidata.org to test_codes
test_codes can be used with write tests, see SiteWriteMixin.
Change-Id: I3e2fee329e11e42361b7ac70d4eb9107d5f072c1
---
M pywikibot/families/wikidata_family.py
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/pywikibot/families/wikidata_family.py b/pywikibot/families/wikidata_family.py
index c296b45..06e1391 100644
--- a/pywikibot/families/wikidata_family.py
+++ b/pywikibot/families/wikidata_family.py
@@ -20,6 +20,9 @@
'beta': 'wikidata.beta.wmflabs.org',
}
+ # Sites we want to edit but not count as real languages
+ test_codes = ['test', 'beta']
+
interwiki_forward = 'wikipedia'
category_redirect_templates = {
To view, visit change 689025. To unsubscribe, or for help writing mail filters, visit settings.