Last modified: 2013-09-30 19:41:06 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 T56767, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54767 - ItemPage.get() chokes on labels with a 'removed' value
ItemPage.get() chokes on labels with a 'removed' value
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
https://www.wikidata.org/w/api.php?ac...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-29 19:24 UTC by Kunal Mehta (Legoktm)
Modified: 2013-09-30 19:41 UTC (History)
0 users

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


Attachments

Description Kunal Mehta (Legoktm) 2013-09-29 19:24:10 UTC
Example item: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q3595042&format=jsonfm

            "labels": {
                "tt": {
                    "language": "tt",
                    "removed": ""
                },

I'm not sure what 'removed' means, but at the very least the bot shouldn't die on it.
Comment 1 Gerrit Notification Bot 2013-09-29 19:43:59 UTC
Change 86442 had a related patch set uploaded by Legoktm:
Don't choke on 'removed' labels.

https://gerrit.wikimedia.org/r/86442
Comment 2 Gerrit Notification Bot 2013-09-30 19:10:04 UTC
Change 86442 merged by jenkins-bot:
Don't choke on 'removed' labels.

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

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


Navigation
Links