Thanks for the feedback. Just to clarify, I didn't write the extension - Pierre Mz did.


On Sun, Aug 28, 2011 at 7:54 PM, Yury Katkov <> wrote:
Great job!

I had a great need in such an extension! I'll try to write a small wrapper for aks-api for pywikipediabot - if it ends up to be nice I'll make it opensource.


On Sun, Aug 28, 2011 at 10:55 PM, Yaron Koren <> wrote:
Hi everyone,

The "SMWAskAPI" extension adds an action to the MediaWiki API, "ask", that lets you call SMW queries via api.php:

I didn't think such a thing was necessary, since the Special:Ask page basically functions as an API already, if you use the query formats "csv", "json" etc. But I was convinced recently that this is in fact an important feature, for two main reasons: the API makes it easier to create queries, using the "" formats, like "jsonfm"; and various libraries for running MediaWiki "bots" are configured for calling api.php specifically.

Any thoughts, then, on adding this code directly into Semantic MediaWiki? I know there's an overall goal to try to make SMW as small as possible, but this extension's code is pretty small - here's the main body of code:

..and its function certainly seems to fit in directly with SMW's core functionality.


EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Semediawiki-devel mailing list

Yury V. Katkov
WikiVote! llc

WikiWorks MediaWiki Consulting