Lokal_Profil added a comment.

But this error was raised when trying to edit wikidata.

So without the site object the function cannot determine which version of Wikibase is running. So it assumes the old version... which isn't what Wikidata runs. The followg-up patch changes it to assume the newer version as default making it work on Wikidata without the need for the site object.

Still no review or merge (pywikibot has a problem with open patches) so you might want to just modify your code to pass it a site object when creating a WbQuantitiy claim.


TASK DETAIL
https://phabricator.wikimedia.org/T151092

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill, Lokal_Profil
Cc: Wesalius, Lokal_Profil, aude, TerraCodes, Luke081515, Jay8g, hoo, Ladsgroup, Lydia_Pintscher, Aklapper, Multichill, pywikibot-bugs-list, daniel, D3r1ck01, Izno, Wikidata-bugs, Ricordisamoa, Mbch331
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to