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

Details

Reference
bz11684
bzimport set Reference to bz11684.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Oct 16 2007, 3:44 PM

sergey.chernyshev wrote:

This corresponds to SMW 1.0 RC1 release

sergey.chernyshev wrote:

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

  • This bug has been marked as a duplicate of bug 2257 ***

Add Comment