Last modified: 2013-06-10 21:45:12 UTC
Convert the following to wikitext: <span about="#mwt2" class="reference" data-mw="{"name":"ref","body":{"html":"Foo"},"attrs":{}}" id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref" data-parsoid="{"src":"<ref>Foo</ref>","dsr":[0,14,5,6]}"><a href="#cite_note-1">[1]</a></span> <span about="#mwt2" class="reference" data-mw="{"name":"ref","body":{"html":"Foo"},"attrs":{}}" id="cite_ref-1-0" rel="dc:references" typeof="mw:Extension/ref"><a href="#cite_note-1">[1]</a></span> (Note the second is identical to the first minus the data-parsoid attribute) The output is: <ref>Foo</ref> <span class="reference" data-mw="{"name":"ref","body":{"html":"Foo"},"attrs":{}}" id="cite_ref-1-0" rel="dc:references">[#cite_note-1 <nowiki>[1]</nowiki>]</span> We should have a way of generating ref tags without having to populate data-parsoid...
Related URL: https://gerrit.wikimedia.org/r/67888 (Gerrit Change I797b2bd87da10cd44c5eecd7b5c814777ea1a05e)
https://gerrit.wikimedia.org/r/67888 (Gerrit Change I797b2bd87da10cd44c5eecd7b5c814777ea1a05e) | change APPROVED and MERGED [by jenkins-bot]