https://bugzilla.wikimedia.org/show_bug.cgi?id=64570

            Bug ID: 64570
           Summary: mw.Api should serialize { foo: [1,2] } as 'foo=1|2',
                    not 'foo[]=1&foo[]=2'
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: JavaScript
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

When passing an array to mw.Api as part of the parameters, is it passed
unchanged to jQuery.ajax which translates it into the format used when encoding
form fields into GET URLs, that is, name[]=value1&name=value2&...

The MediaWiki API does not understands this format; instead, arrays should be
joined with a | character.

-- 
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

Reply via email to