https://bugzilla.wikimedia.org/show_bug.cgi?id=64570
--- Comment #2 from Krinkle <[email protected]> --- Hm.. hinging on invalid/wontfix but will leave open for now. When an mw.Api plugin provides a dedicated interface for a particular property, it should support a plain array as input and do the join('|') for you. mediawiki.api.watch is an example where this is handled, and that works fine. There is no problem here. The generic ajax interface in mw.Api (mw.Api.get) has no contract that it does array joining for you. That could be a feature (reclassified this as an enhancement for that reason), but it certainly isn't something you should expect to work. It is documented as taking query string key/value pairs. If anything, it could reject non-string values before passing to $.param, but that seems a bit of an exaggeration for such a minor detail and not in style with how we generally write our interfaces flexibly. -- 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
