https://bugzilla.wikimedia.org/show_bug.cgi?id=51150

--- Comment #5 from Gabriel Wicke <[email protected]> ---
It is either data-mw.i or data-mw.parts[<n>].i for templates. It is not new,
but so far we have not used that information that heavily, so the fact that you
drop the i probably fell under the radar. We use it to associate the public
entry with private round-trip information such as the order of parameters and
(crucially for this bug) whitespace.

echo -e '{{echo|a   = foo\n|b   = c}}| node parse 
<body><p about="#mwt1" typeof="mw:Transclusion"
data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"a":{"wt":"foo"},"b":{"wt":"c"}},"i":0}'
data-parsoid='{"dsr":[0,27,null,null],"src":"{{echo|a   = foo\n|b   =
c}}","pi":[[{"k":"a","spc":["","   "," ","\n"]},{"k":"b","spc":["","   ","
",""]}]]}'>{{{1}}}</p>
</body>

-- 
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

Reply via email to