Summary: Passing URLs to templates via #show or #ask causes
                    formatting problems
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki

Assuming you have a simple template called 'url' with the following wikitext:

* [{{{2}}} {{{1}}}]

Calling the template within an ask works fine. e.g.

{{#ask: [[Some pages]] | ?Some url type property
 | format=template | template=url }}

However, a very similar 'explicit' call fails to be formatted correctly. e.g.
on 'Some page':

{{url | {{PAGENAME}}
 | {{#show: {{PAGENAME}} | ?Some url type property | link=none }} }}

fails to render correctly.

Presumably the url string returned by the #show is being picked up and 'linked'
by MediaWiki before it reaches the formatting within the template.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to