https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
Bug ID: 66120 Summary: Reading WikibasePage.text causes a TypeError Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
print ItemPage.text results in:
TypeError: get() got an unexpected keyword argument 'get_redirect'
.text is provided by Page(), and not overridden by WikibasePage, and it invokes .get with get_redirect=True.
.get in Page() includes get_redirect as a keyword argument.
.get in WikibasePage and subclasses does not have get_redirect in the argument list at all, and doesnt have **kwargs.