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: mar...@semantic-mediawiki.org ReportedBy: dan.bol...@gmail.com CC: yaro...@gmail.com, jeroen_ded...@yahoo.com 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l