For parameters that takes more than a singe value (e.g. removed tags should take a map of tag names and boolean/class name), figure out how to do this with a query string. Json string should do the trick, but there may be standardized ways of doing this.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Sebastian_Berlin-WMSE | T159917 Strings containing ampersands are removed by Cleaner | |||
Resolved | Sebastian_Berlin-WMSE | T153841 Improve utterance storage | |||
Resolved | Sebastian_Berlin-WMSE | T164251 Use API action to preprocess text | |||
Resolved | Sebastian_Berlin-WMSE | T164250 Create API action for getting segmented text | |||
Resolved | Sebastian_Berlin-WMSE | T165741 Handle complex paramters in query string |
Event Timeline
Comment Actions
Query strings of the format ?cars[]=Saab&cars[]=Audi seems to be handled as arrays by PHP, source: http://stackoverflow.com/a/9547490.
Comment Actions
Since two dimensional arrays will be used and there doesn't seem to be any standard for this, JSON looks to be the way to go. This is also used by e.g. the Wikidata API: https://www.wikidata.org/w/api.php?action=help&modules=wbsetclaim.