Last modified: 2007-10-17 15:23:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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