Open lokal-profil opened 9 years ago
Note that simply doing item.get()
or item.exists()
is not enough. The item must be recreated before any subsequent update:
item = pywikibot.ItemPage(k.repo, item.title())
item.exists()
This should be moved to the lokal-profil/wikidata_batches
(kulturnavbot) repo then closed
Currently tracked through calls to foobar()
Functions handling variables of the form
{"@language": "xx", "@value": "xxx"}
(with the exception ofdbpedia2Wikidata
) should be prepared to receive either this or a list of these and must be able to handle either.In addition to e.g.:
the functions must also be adapted since they are currently expected to either return only one hit or to perform an edit.
For the later care must be taken since the item must be reloaded for the change to be detectable. I.e. if an [sv] label is added the second [sv] suggestion would attempt to overwrite this instead of adding that as an alias.