Issue:Html-comments in parameter names
From FollowTheScore
Description: | parameters like | parametername <!-- comment --> = behave unlike standard Wiki-syntax |
Extension / Version: | DPL / 1.7.4 |
Type / Status: | Bug / open |
Problem
With standard Wiki-syntax it is possible to use comments ahead the equal sign. Consider a template call like:
{{Infobox Country or territory | area <!-- in km² --> = | population_estimate <!-- other comment --> = }}
The result will be the same as without the comments (so the comments are completely ignored). The DPL query does not work like this and the result of the query below will be an empty string:
{{#dpl: | mode = userformat | ... | include = {Infobox Country or territory}:area }}
The parameter names have to be exactly like the template call, including the comment and whitespaces:
{{#dpl: | mode = userformat | ... | include = {Infobox Country or territory}:area «!-- in km² --» }}
Sorry for my lack of English. I hope you understand my problem. Greetings --WiMu 10:44, 4 May 2009 (UTC)