https://bugzilla.wikimedia.org/show_bug.cgi?id=26701
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
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l