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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 137310 had a related patch set uploaded by John Vandenberg: Bug 66120: WikibasePage.text causes a TypeError
https://gerrit.wikimedia.org/r/137310
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 137310 had a related patch set uploaded by Legoktm: WikibasePage.text causes a TypeError
https://gerrit.wikimedia.org/r/137310
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 137310 merged by jenkins-bot: WikibasePage.text causes a TypeError
https://gerrit.wikimedia.org/r/137310
https://bugzilla.wikimedia.org/show_bug.cgi?id=66120
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |legoktm.wikipedia@gmail.com Resolution|--- |FIXED Assignee|Pywikipedia-bugs@lists.wiki |jayvdb@gmail.com |media.org |
pywikipedia-bugs@lists.wikimedia.org