Last modified: 2007-10-17 15:23:11 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 T13684, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11684 - Template parameters are not expanded in <ask> queries.
Template parameters are not expanded in <ask> queries.
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-16 15:44 UTC by Sergey Chernyshev
Modified: 2007-10-17 15:23 UTC (History)
1 user (show)

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


Attachments

Description Sergey Chernyshev 2007-10-16 15:44:24 UTC
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>
Comment 1 Sergey Chernyshev 2007-10-16 15:44:52 UTC
This corresponds to SMW 1.0 RC1 release
Comment 2 Sergey Chernyshev 2007-10-16 15:48:02 UTC
Same problem exists within template rendering when template is used as format for querying.
Comment 3 Roan Kattouw 2007-10-17 15:23:11 UTC

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

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


Navigation
Links