Xqt added a comment.
In T318034#8245194 <https://phabricator.wikimedia.org/T318034#8245194>, @matej_suchanek wrote: > Thank you for your valuable 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. The patch I've added raises TypeError in such case >> 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). I am fine with it to keep the current behaviour except raising the exception if the data type is wrong. TASK DETAIL https://phabricator.wikimedia.org/T318034 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt 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]
