SilentSpike created this task.
SilentSpike added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Liuxinyu970226,
Aklapper.
TASK DESCRIPTION
Kept encountered this while running my bot and took me a while to track down
the cause. If you edit a Wikidata item locally (e.g. `setTarget` for an
arbitrary claim on the item), and then call method
`item.editEntity(summary='edited arbitrary claim')` you will get the following
error if there's an existing statement on the item with no precision specified.
[messages: [{'name': 'wikibase-validator-missing-field', 'parameters':
['precision'], 'html': {'*': 'Missing required field "precision"'}}]
Example items where this is true:
Q49208
Q465071
Q317032
Q374058
TASK DETAIL
https://phabricator.wikimedia.org/T246359
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: SilentSpike
Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, SilentSpike, Zkhalido,
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus,
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs