jenkins-bot has submitted this change and it was merged.
Change subject: Add the ability to edit on test.wp and test2.wp ......................................................................
Add the ability to edit on test.wp and test2.wp
Change-Id: I88f81fb9b20458bef2e3d2c6f21f4a756cbeef77 --- M pywikibot/families/wikipedia_family.py 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/families/wikipedia_family.py b/pywikibot/families/wikipedia_family.py index 9c82f10..4213a56 100644 --- a/pywikibot/families/wikipedia_family.py +++ b/pywikibot/families/wikipedia_family.py @@ -41,8 +41,10 @@ 'ny', 'tw', 'ch', 'xh', ]
+ langs = self.languages_by_size + ['test', 'test2'] # Sites we want to edit but not count as real languages + self.langs = dict([(lang, '%s.wikipedia.org' % lang) - for lang in self.languages_by_size]) + for lang in langs])
self.category_redirect_templates = {
pywikibot-commits@lists.wikimedia.org