Topic on Project:Support desk

API: Join parameter values "foo OR bar"?

3
Subfader (talkcontribs)

How can I join parameter values? E.g. to list the latest audio files (aimime = "audio/mp3" OR "application/ogg").

Is there a workaround? Like running 2 calls and joining the results?

MarkAHershberger (talkcontribs)

That should be a bug. You should be able to add something like "aimime=audio/mp3|application/ogg" but you can't. The workaround is to run two calls.

Reply to "API: Join parameter values "foo OR bar"?"