https://bugzilla.wikimedia.org/show_bug.cgi?id=57480

       Web browser: ---
            Bug ID: 57480
           Summary: References cannot be set anymore
           Product: Pywikibot
           Version: compat (1.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Wikidata
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

subster.py was able to set references to wikidata claims/entries, but this does
not work anymore, instead it raises an exception:

 Traceback (most recent call last):
   File "subster.py", line 609, in data_save
     comment=summary)
   File "/data/toolserver/pywikipedia-git/wikipedia.py", line 4826, in
editclaim
     raise RuntimeError("API query error: %s" % data)
 RuntimeError: API query error: {u'servedby': u'mw1191', u'error': {u'info':
u'Malformed input: +00000002013-11-23T12:50:53Z', u'code':
u'invalid-snak-value', u'messages': {u'0': {u'type': u'error', u'name':
u'wikibase-validator-malformed-value', u'parameters':
[u'+00000002013-11-23T12:50:53Z']}, u'html': {u'*': u'<p>Malformed input:
+00000002013-11-23T12:50:53Z\n</p>'}}}}

Since subster.py has not changed during this time, this has to be caused either
by changes in wikipedia.py or (IMHO more probable) in wikidata mw software.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to