https://bugzilla.wikimedia.org/show_bug.cgi?id=48903
--- Comment #2 from Carl Fürstenberg <[email protected]> --- (In reply to comment #1) > (In reply to comment #0) > > either the API should allow those alternative, or the JavaScript function > > should change to have special logic to handle api specific syntax > > Or people could just supply the data in the correct format. I would assume most programmers would think that it's perfectly logical to pass an array in those instances, and that either the module changes it to the "correct format" or that the api allows the normal syntax. > > > > so people doesn't have to type foo: 'a|b' manually. > > Considering that's easier to type than "foo:['a','b']", I'm failing to > understand why you're presenting this as a reason for your request. I'm referring to when you are building abstractions for the api in the code, where you might want to add a prop depending on the context. Also {foo:['a','b']} is imo easier to debug (syntax highlighting) than foo: 'a|b'. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
