Re: [SMW-devel] [PATCH] Support LIKE in queries

2008-01-02 Thread Thomas Bleher
* Markus Krötzsch [EMAIL PROTECTED] [2008-01-02 08:37]: On Sonntag, 30. Dezember 2007, Thomas Bleher wrote: * Markus Krötzsch [EMAIL PROTECTED] [2007-12-30 22:10]: OK, my conclusion now was to support the following syntax: [[property% *subs?r*]] where ? and * represent

Re: [SMW-devel] Minor issues with inline errors

2007-12-14 Thread Thomas Bleher
* Markus Krötzsch [EMAIL PROTECTED] [2007-12-12 21:07]: On Sonntag, 2. Dezember 2007, Thomas Bleher wrote: 67 foreach($properties as $singleprop) { 68 $dv = SMWFactbox::addProperty($singleprop,$value,$valueCaption); 69 } $dv is overwritten here on each

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

2007-12-03 Thread Thomas Bleher
* cnit [EMAIL PROTECTED] [2007-12-03 16:24]: May I suggest another kind of ask format? Sometimes it's desirable to get only a simple count of rows instead of the query result rows. So, if there's a 5 rows in the query result, ask format=count would return a number 5. It may be useful to

[SMW-devel] Minor issues with inline errors

2007-12-02 Thread Thomas Bleher
Hi! Stumbled across another issue today: If an annotation is incorrect an error text is added, even if $smwgNamespacesWithSemanticLinks is set to false for this particular namespace. Example: http://www.ppoe.at/leiter/wiwo/wiki/index.php/MediaWiki:Neuemethode-grundgeruest (This page is read by

[SMW-devel] Another small issue: decimal separator is locale dependent

2007-11-26 Thread Thomas Bleher
I just discovered another small issue: I tried to adapt http://ontoworld.org/wiki/Type:Time to my wiki (see http://spiele.j-crew.de/wiki/Datentyp:Zeitdauer). First I copied the page verbatim, which lead to various strange errors (division by zero, numbers being sometimes shown in a strange way,

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

2007-11-26 Thread Thomas Bleher
they can be used in the templates given to ask. Maybe this can be added to SMW. Regards, Thomas On Dienstag, 20. November 2007, Thomas Bleher wrote: * Thomas Bleher [EMAIL PROTECTED] [2007-11-15 20:36]: * Thomas Bleher [EMAIL PROTECTED] [2007-11-14 08:48]: 1) Implement negations in queries

[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

[SMW-devel] [broken patch] First stab at support for negated queries

2007-11-15 Thread Thomas Bleher
* Thomas Bleher [EMAIL PROTECTED] [2007-11-14 08:48]: 1) Implement negations in queries - then I could ask (NOT maxTeilnehmer = 9) AND (NOT minTeilnehmer = 11). I used this solution with SMW 0.7 (patch below), but looking at the 1.0RC2 code, I'm not quite sure how to implement

[SMW-devel] Allow queries like (known_value or empty)?

2007-11-13 Thread Thomas Bleher
Hi! First I'd like to thank you for the great software that SMW is! SMW1.0 seem to be in pretty good form, too! I tried to upgrade my server (which has some custom modifications to SMW) and hit a limitation, which I'm not quite sure how to overcome. Maybe you have some suggestions. I'd like to