Template parameters are not expanded in <ask> queries.
Closed, ResolvedPublic

Description

Author: sergey.chernyshev

Description:
Template parameters are not expanded withing <ask>...</ask> queries.

Following template doesn't work:

'''Birth date:''' <ask>[[{{{1}}}]][[Birth date::+]][[Birth date::*]]</ask>

The calling code is simple:

{{Test|John Doe}}

Same code inserted in the page without template works fine:

'''Birth date:''' <ask>[[John Doe]][[Birth date::+]][[Birth date::*]]</ask>

Version: unspecified
Severity: major

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz11684.
bzimport created this task.Via LegacyOct 16 2007, 3:44 PM
bzimport added a comment.Via ConduitOct 16 2007, 3:44 PM

sergey.chernyshev wrote:

This corresponds to SMW 1.0 RC1 release

bzimport added a comment.Via ConduitOct 16 2007, 3:48 PM

sergey.chernyshev wrote:

Same problem exists within template rendering when template is used as format for querying.

Catrope added a comment.Via ConduitOct 17 2007, 3:23 PM
  • This bug has been marked as a duplicate of bug 2257 ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.