jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/344763 )
Change subject: Make UserContributionsGenerator use the provided site object ......................................................................
Make UserContributionsGenerator use the provided site object
Change-Id: I825b5c7d7909963c0bd0844fa9e7291ac51ec58b --- M pywikibot/pagegenerators.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index 13618af..7be6d03 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -680,7 +680,7 @@ question, ListOption(self.site.get_property_names())) gen = page_with_property_generator(value, site=self.site) elif arg == '-usercontribs': - gen = UserContributionsGenerator(value) + gen = UserContributionsGenerator(value, site=self.site) elif arg == '-withoutinterwiki': gen = WithoutInterwikiPageGenerator(total=intNone(value), site=self.site)
pywikibot-commits@lists.wikimedia.org