Last modified: 2013-02-26 13:26:56 UTC
Example. According to http://semantic-mediawiki.org/wiki/Help:Type_Boolean you can specify a format string within a query. e.g. {{#ask: [[Category:Project]] | ?successful#success,failure }} where success and failure are displayed in a result column labelled "successful". This works when a table format is used, but if the CSV query format is specified, the formatting is ignored. The output contains true/false, not success,failure as desired.
Hi. This is actually a regression. It works fine with SMW 1.8rc1, but not with 1.8.0.2+
This is utterly strange because according to [1], csv result printer has not seen any change since 2012-10-05 and 1.8rc1 was tagged Wed, 21 Nov 2012 [2]. [1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=history;f=includes/queryprinters/SMW_QP_CSV.php;hb=HEAD [2] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=log;h=6775648106623a3643bc18acf6f3103c2d753042
Hi. Thanks for looking into this for me. Unfortunately I've upgraded both instances to get other things working, so I no longer know the exact version number. However, this is definitely not working with 1.8.0.3 unfortunately.