When harvesting from some category, there are sometimes new articles which have not own wikidatat item yet.
This pages were normally skipped.
After some changes there are now error reports which are annoying and makes terminal window hardly readable:
harvest_template -template:Commonscat "1" P373
Processing [[cs:Kostel svatého Ducha (Krupka)]]
[[cs:Kostel svateho Ducha (Krupka)]] doesn't have a wikidata item :(
ERROR: NoPage: Page [[wikidata:-1]] doesn't exist.
Traceback (most recent call last):
File "D:\Py\rewrite\scripts\harvest_template.py", line 66, in run self.processPage(page) File "D:\Py\rewrite\scripts\harvest_template.py", line 122, in processPage item.get() File "D:\Py\rewrite\pywikibot\page.py", line 2632, in get super(ItemPage, self).get(force=force, *args) File "D:\Py\rewrite\pywikibot\page.py", line 2470, in get raise pywikibot.NoPage(self)
NoPage: Page [[wikidata:-1]] doesn't exist.
Version: core-(2.0)
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=71095