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

2007-12-12 Thread Markus Krötzsch
On Sonntag, 2. Dezember 2007, Thomas Bleher wrote: > 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/in

Re: [SMW-devel] swedish collation error on semantic-mediawiki.org with category query and some pages

2007-12-12 Thread Markus Krötzsch
On Mittwoch, 12. Dezember 2007, cnit wrote: > > Oops. Same old collation issue. I applied the fix given in [1]. I think > > some DB backup must have caused this. > > The best way to get rid of these problems (which initially gave me a > lots of headache) is to stop using precompiled RPM or windows

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

2007-12-12 Thread Markus Krötzsch
The reason is that SMW can only sort by properties that are part of the core query. Print statements such as "?Date" may or may not lead to one (or more) outputs per query result, but are not used in the initial SQL query (so as not to increase the number of result rows via printouts). So what

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

2007-12-12 Thread cnit
Markus (or perhaps someone else), Can you please give a hint, why with my query {{#ask: [[Category:News]] | ?Date| sort=Date| order=descending| limit=3| format=template| template=newsrow| default=There was no news| searchlabel=Browse all news...| }} In the SMWSQLStore::createSQLQuery() $

Re: [SMW-devel] swedish collation error on semantic-mediawiki.org with category query and some pages

2007-12-12 Thread cnit
> Oops. Same old collation issue. I applied the fix given in [1]. I think some > DB backup must have caused this. The best way to get rid of these problems (which initially gave me a lots of headache) is to stop using precompiled RPM or windows installer versions of mysql server, which use latin1 c