https://bugzilla.wikimedia.org/show_bug.cgi?id=54767
Web browser: --- Bug ID: 54767 Summary: ItemPage.get() chokes on labels with a 'removed' value Product: Pywikibot Version: unspecified Hardware: All URL: https://www.wikidata.org/w/api.php?action=wbgetentitie s&ids=Q3595042&format=jsonfm OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Example item: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q3595042&...
"labels": { "tt": { "language": "tt", "removed": "" },
I'm not sure what 'removed' means, but at the very least the bot shouldn't die on it.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54767
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 86442 had a related patch set uploaded by Legoktm: Don't choke on 'removed' labels.
https://gerrit.wikimedia.org/r/86442
https://bugzilla.wikimedia.org/show_bug.cgi?id=54767
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=54767
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 86442 merged by jenkins-bot: Don't choke on 'removed' labels.
https://gerrit.wikimedia.org/r/86442
https://bugzilla.wikimedia.org/show_bug.cgi?id=54767
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org