Last modified: 2014-07-19 03:56:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68120, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66120 - Reading WikibasePage.text causes a TypeError
Reading WikibasePage.text causes a TypeError
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized minor
: ---
Assigned To: John Mark Vandenberg
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-04 13:57 UTC by John Mark Vandenberg
Modified: 2014-07-19 03:56 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-06-04 13:57:29 UTC
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.
Comment 1 Gerrit Notification Bot 2014-06-04 14:09:54 UTC
Change 137310 had a related patch set uploaded by John Vandenberg:
Bug 66120: WikibasePage.text causes a TypeError

https://gerrit.wikimedia.org/r/137310
Comment 2 Gerrit Notification Bot 2014-07-19 03:55:37 UTC
Change 137310 had a related patch set uploaded by Legoktm:
WikibasePage.text causes a TypeError

https://gerrit.wikimedia.org/r/137310
Comment 3 Gerrit Notification Bot 2014-07-19 03:56:27 UTC
Change 137310 merged by jenkins-bot:
WikibasePage.text causes a TypeError

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links