https://bugzilla.wikimedia.org/show_bug.cgi?id=67657
--- Comment #9 from Marc Ordinas i Llopis <[email protected]> --- Gabriel, 'wt' still contains the original wikitext for the parameter value as it's always done, we're just adding a new paramWt attribute that only shows up if the original parameter name wikitext is different from the actual parameter name that would be used in expansion. I think the example was a little confusing because the comment in the param name is the same as the param value, sorry for that. Another example, this time with html in it too: > {{ec<!--tpl comment-->ho|unnamed param value|1<!--param name > comment-->2=Param ''value''}} > { > 'parts': [ { > 'template': { > 'target': { > 'wt': 'ec<!--tpl comment-->ho', > 'href': '../Template:Echo' > }, > 'params': > { > '1': { > 'wt': "unnamed param value", > 'html': 'unnamed param value' > } > }, > { > '12': { > 'paramWt': '1<!--param name > comment-->2', > 'wt': "Param ''value''", > 'html': 'Param <i>value</i>' > } > }, > 'i': 0 > } > } ] > } If paramWt isn't actually needed by VE, maybe we could even not output it at all in data-mw, as it's also kept in data-parsoid… -- 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
