A human item replaced with a redirect causes confusion.

This commit is contained in:
Edward Betts 2020-01-07 15:10:59 +00:00
parent b77ba57b74
commit d0ddcc96eb

View file

@ -39,6 +39,8 @@ def from_name(name):
found = []
for entity in mediawiki.get_entities_with_cache(qids, props='labels|descriptions'):
if 'redirects' in entity:
continue
qid = entity['id']
item = lookup[qid]
i = {