matej_suchanek added a comment.
> Nothing happens, no error, but also no action on wikidata. It used to work. //Errors should never pass silently.// So this should be fixed. > Should this task become a feature request to enable single strings? I am hesitant about this. Note that the method is called `editAliases`. It is 1) in the plural and 2) it //edits// them (i.e., replaces them, it does not just //add// them). So it is probably useful for maintaining (tidying) data, but not importing data when you just want to add some data, without replacing existing data. (I believe this is the intention behind this, or at least replacing existing aliases with a new single one is not the intention.) We could introduce a new method like `addAliases` or so which would just let you add them. This method could also support providing a single string. TASK DETAIL https://phabricator.wikimedia.org/T318034 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, matej_suchanek Cc: matej_suchanek, pywikibot-bugs-list, Aklapper, Psemdel, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, mys_721tx, Xqt, jayvdb, Ricordisamoa, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
