How can I pass an ask as a parameter of a query?
For example:
myvar={#ask: [[Category:City]][[London]]
|?population
|?currency
|}
Then use the data again in a custom function:
{#ask: [[England]]
|?population
|?currency
|capital=myvar
|}
If I try using something like the code below, when I debug the application, capital is equal to an empty String ( it's declared but empty ):
{#ask: [[England]]
|?population
|?currency
|capital={#ask: [[Category:City]][[London]]
|?population
|?currency
|}
|}