Page MenuHomePhabricator

Reading WikibasePage.text causes a TypeError
Closed, ResolvedPublic

Description

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.


Version: core-(2.0)
Severity: minor

Details

Reference
bz66120

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:12 AM
bzimport set Reference to bz66120.

Change 137310 had a related patch set uploaded by John Vandenberg:
Bug 66120: WikibasePage.text causes a TypeError

https://gerrit.wikimedia.org/r/137310

Change 137310 had a related patch set uploaded by Legoktm:
WikibasePage.text causes a TypeError

https://gerrit.wikimedia.org/r/137310

Change 137310 merged by jenkins-bot:
WikibasePage.text causes a TypeError

https://gerrit.wikimedia.org/r/137310

Change 216535 had a related patch set uploaded (by John Vandenberg):
WikibasePage.get: Do not pass *args into *props

https://gerrit.wikimedia.org/r/216535