Re: [SMW-devel] {{#ask}}

2007-11-23 Thread Markus Krötzsch
And another note: {{#ask}} is in SVN (in a first version). Working example query: {{#ask: [[Category:Country]] [[borders::Nigeria]] | ?population| ?area#km² = ''Size''| format=list| limit = 3| link=all| intro=Test_| }} Moreover, it is now of course possible to use templates and their

Re: [SMW-devel] {{#ask}}

2007-11-23 Thread Markus Krötzsch
On Samstag, 17. November 2007, Peter Clements wrote: > Hello Markus, > Hi Peter. First of all: thanks for that discussion. I think parameter cleanup/extension in a planned way is truly needed, and a public discussion is a good idea. All of this should probably come with some mechanism for para

[SMW-devel] Small Bug: Page saves fail when SMW is loaded but tables are missing

2007-11-23 Thread Thomas Bleher
When SMW is loaded via require_once() and enableSemantics(), but the necessary database tables are not there, saving a wiki page can fail. This hit me today: I had installed SMW for a client I work for, but Special:SMWAdmin did not have the necessary rights to create the tables. I left SMW there s

Re: [SMW-devel] ask query format=template

2007-11-23 Thread Markus Krötzsch
Good to hear that at least the XML-import+SMW-refresh finally worked. The design of MediaWiki is very fragile in many places, and I fear that there are much more non-common cases where extensions do not work as expected (e.g. due to the combination of global and non-global objects everywhere in

Re: [SMW-devel] [patch] 2nd try: support for negated queries

2007-11-23 Thread Markus Krötzsch
Hi Thomas, thanks for the work (and good to hear the SpieleWiki runs on the new version)! We agree and also would prefer the full negation patch. Our current roadmap is to finish 1.0 first, which mainly hinges upon the inclusion (or reimplementation) of the {{#ask}}-patch and some further fixes