jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: Pywikibot-Wikidata, pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
b9bf65db extended aa0ebedc to add `DataSite` methods `get_info`,
`get_aliases` and `get_urls`.
It added support by using props `info`, `aliases` and `sitelinks/urls`
respective, however `_get_propertyitem` includes the following assertion
```
assert props in wbdata, \
"API wbgetitems response lacks %s key" % props
```
This assertion fails for `info` and `sitelinks/urls`
1. the key `info` does not exist in the data.
2. the key in the data is `sitelinks`. Was the key ever `sitelinks/urls`?
It appears they were been broken since inception, and should be removed.
TASK DETAIL
https://phabricator.wikimedia.org/T111896
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, pywikibot-bugs-list, jayvdb, Ricordisamoa
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs