Re: [SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-31 Thread Markus Krötzsch
On 28/08/11 22:55, 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: > > http://www.mediawiki.org/wiki/Extension:SMWAskAPI > > I didn't think such a thing was necessary, since the Special:Ask pag

Re: [SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-29 Thread Leonard Wallentin
I definitely agree that SMWAskAPI belongs in the core. When we think of keeping code as small and lean as possible we should consider not just the in-site code, but also that of client sites and applications using our data elsewhere. If clients can do with one wrapper library instead of two to

Re: [SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-28 Thread Yaron Koren
Thanks for the feedback. Just to clarify, I didn't write the extension - Pierre Mz did. -Yaron 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 n

Re: [SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-28 Thread Yury Katkov
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. Yury On Sun, Aug 28, 2011 at 10:55 PM, Yaron Koren wrote: > Hi everyone, > > The "SMWAskAPI" extension adds an action to the

Re: [SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-28 Thread badon
I'm not sensitive to the consequences for code size, but I can tell you that my plan for working around the lack of built-in uniqueness checking for properties will probably involve a bot querying for duplicates, and then removing them, discussed here: http://old.nabble.com/forum/ViewPost.jtp?pos

[SMW-devel] Adding "SMWAskAPI" code to SMW

2011-08-28 Thread Yaron Koren
Hi everyone, The "SMWAskAPI" extension adds an action to the MediaWiki API, "ask", that lets you call SMW queries via api.php: http://www.mediawiki.org/wiki/Extension:SMWAskAPI I didn't think such a thing was necessary, since the Special:Ask page basically functions as an API already, if you use