List of steps to reproduce (step by step, including full links if applicable):
- pwb.py harvest_template -prefixindex:Wikipedie:Pískoviště -template:"Hlavní článek" "1" P301 -lang:cs
there are three redirects:
- redirect (without wikidata item) to another article
- redirect to section of another item (both redirect and target have own wikidata item)
- redirect to another article (both redirect and target have own wikidata item)
2 and 3 are marked as Wikidata redirect with template Q16956589
What happens?:
Script imports Q144, Q11567 and Q1471
- https://www.wikidata.org/w/index.php?title=Q4115189&type=revision&diff=1669488707&oldid=1669488098
- https://www.wikidata.org/w/index.php?title=User_talk:JAn_Dud%C3%ADk&type=revision&diff=1668949101&oldid=1668925217&diffmode=source
What should have happened instead?:
script should import Q144, Q9165172 and Q472766
See also T54564