[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-25 Thread Psemdel
Psemdel added a comment. Sorry, I was on a leave. The documentation says that the "[" "]" are required, so I think it should be fine. No idea why it worked before. Thx for the action. TASK DETAIL https://phabricator.wikimedia.org/T318034 EMAIL PREFERENCES https://phabricator.wikimedia.o

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-24 Thread gerritbot
gerritbot added a comment. Change 832739 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] raise TypeError in AliasesDict.normalizeData if data value is not a list https://gerrit.wikimedia.org/r/832739 TASK DETAIL https://phabricator.wikimedia.org/T318034 EMAIL PREFERENCE

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-19 Thread Xqt
Xqt added a comment. In 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.

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-19 Thread matej_suchanek
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-19 Thread Xqt
Xqt added a comment. You have used `a={'fr':'NUR 2010','en':'NUR 2010'}` which is invalid for the current implementation. What I meant is to allow this for a single alias. For multiple aliases a sequence (i.e. a list) has to be used anyway. TASK DETAIL https://phabricator.wikimedia.org/T31

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-18 Thread Psemdel
Psemdel added a comment. A dic instead of a list you mean? If you look at: https://www.mediawiki.org/wiki/Manual:Pywikibot/Wikidata/fr 'aliases': {'en': ['Douglas Noel Adams', 'another alias'], 'de': ['Douglas Noel Adams']} Maybe your mean that within the dic, it should be a list

[Pywikipedia-bugs] [Maniphest] [Commented On] T318034: editAliases makes nothing

2022-09-18 Thread gerritbot
gerritbot added a comment. Change 832739 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] raise TypeError in AliasesDict.normalizeData if data value is not a list https://gerrit.wikimedia.org/r/832739 TASK DETAIL https://phabricator.wikimedia.