askargs: units of measurement

From semantic-mediawiki.org
Fragment of a discussion from Help talk:API

I suspect you are right that the ask API does not support units. You should be able to use Special:Ask though. And enhancements to the ask API, or its documentation, are certainly welcome.

10:01, 24 December 2014

My task was to make a fully dynamic (not cached with the rest of the wikipage) semantic map. At first I used SMW API and had to process units of measurement in my JavaScript. Then I found a more universal and robust solution: I developed an extension that enables server- and client-side inclusions on wikipages (with api.php?action=parse). So, this issue is not so pressing to me now. However, I still think that there is a bug in the API, not its documentation.

04:43, 25 December 2014