Last modified: 2011-09-24 12:29:42 UTC
I just recognized that there was a lot messed up in my wiki after updating to SMW 1.6.2 from 1.6.1. This is because I use #show in a few templates, without specifying default result format. In case only one property was asked for, default format was list, now it is table. It's questionable whether table makes any sense at all for #show, at least imho it doesn't if only one property is requested. Also, #show with list format doesn't trim the value, there is always a space in front of the value! This was in 1.6.1 and 1.5.6 as well, don't know about earlier versions. Oh, and the 'headers' parameter doesn't work for #show, although the documentation states that all #ask parameters can be used.
Thanks for the report. We are aware of the first issue (#show formatting as tables when it should not) and are working on a fix, hopefully available within the next few days. The other two issues are independent (space in list format, headers not working in #show). We will also look into this. There have not been any database changes between 1.6.1 and 1.6.2 so it is possible to switch back to the previous software to fix the error (you can hold a copy of SMW 1.6.1 in directory ./extensions/SemanticMediaWiki_1.6.1/ and merely change your file include path in LocalSettings to switch back and forth between the two versions). The only other software that this might depend on is Validator which could also require an earlier version in SMW 1.6.1 but I am not sure about this.
I'm working on an in-flight fix right now, will commit when im back at home.
r97994 seems to fix the issue :)