Last modified: 2014-02-19 23:31:58 UTC
See this example: [subbu@earth tests] echo '[[File:Telephone exchange 1.svg|thumb|{{echo|261px}}]]' | node parse --wt2wt [[File:Telephone exchange 1.svg|thumb|261px]]
This now round-trips ok: echo '[[File:Telephone exchange 1.svg|thumb|{{echo|261px}}]]' | node parse --wt2wt [[File:Telephone exchange 1.svg|thumb|{{echo|261px}}]] It is however still not marked as template-affected, nor is the value exposed as HTML so that the template parameters etc can be edited.
This is WIP @ https://gerrit.wikimedia.org/r/#/c/110095/
Change 110095 had a related patch set uploaded by Subramanya Sastry: WIP: (Bug 51921) Set up data-mw for all img attrs. https://gerrit.wikimedia.org/r/110095
Change 110095 had a related patch set uploaded by Subramanya Sastry: WIP: Set up data-mw for all templated image attributes. https://gerrit.wikimedia.org/r/110095
Change 110095 merged by jenkins-bot: Set up data-mw for all templated image attributes. https://gerrit.wikimedia.org/r/110095