mediawiktory icon indicating copy to clipboard operation
mediawiktory copied to clipboard

Better API for multivalue params

Open zverok opened this issue 7 years ago • 0 comments

For example: https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bgeosearch gscoord param is

Format: Latitude and longitude separated by pipe ("|").

Current usage:

api.query.geosearch('50.004444|36.231389')....

Should be:

api.query.geosearch(50.004444, 36.231389)....

zverok avatar Jun 21 '17 21:06 zverok