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: [email protected]
Reporter: [email protected]
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l