Last modified: 2011-09-24 12:29:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33128, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31128 - SMW 1.6.2 #show issues
SMW 1.6.2 #show issues
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-24 03:24 UTC by Daniel A. R. Werner
Modified: 2011-09-24 12:29 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2011-09-24 03:24:45 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.
Comment 1 Markus Krötzsch 2011-09-24 08:40:04 UTC
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.
Comment 2 Jeroen De Dauw 2011-09-24 09:36:59 UTC
I'm working on an in-flight fix right now, will commit when im back at home.
Comment 3 Jeroen De Dauw 2011-09-24 12:29:42 UTC
r97994 seems to fix the issue :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links