Issues with the "sep" function in mode Query template.

From semantic-mediawiki.org

There is a issue since the 2.1 SMW version when we use a "sep" function with the Archive:Template format.

Here is the code:

{{#ask: [[Category:City]] [[located in::Germany]]
              | format = template
              | template = Link
              | sep =  • 
              | link = none
}}.

Here is the result:

Semantic MediaWiki • Semantic MediaWiki • Semantic MediaWiki • Semantic MediaWiki • Semantic MediaWiki • Semantic MediaWiki

There should be a separator between the each value. That's not the case obviously. It seems to be a bug.

17:05, 24 August 2015

`sep` is only used as divider for when multiple values are assigned to same field (property) for querys like:

{{#ask: [[Category:City]] [[located in::Germany]]
 |?Has something --> used by/for sep

The template has to care for the formatting, values do not contain arbitrary separators (except those concatenated of multiple values) that weren't part of its value declaration.

You can make a feature request [0] to have the `sep` parameter made available as {{{sep}}} in a template (so it can be used further within a template).

BTW: I tested it against 1.9.2.

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/

18:14, 24 August 2015

Yet it's working on a version 1.8

Here are the link (bottom template): http://stargate.shoutwiki.com/wiki/MacKenzie_%28doctor%29

And now the same template on a 2.1.3 version: http://battlestar.wiki/Mod%C3%A8le:Palette_Personnages

22:18, 24 August 2015

I replaced |format = template by |format = list living the rest as this and now it's working well. With this, I can change the sep parameter using the template I need.

11:34, 8 September 2015