Page MenuHomePhabricator
Paste P8024

T213256 - Sample input and output
ActivePublic

Authored by santhosh on Jan 23 2019, 12:15 PM.
Input:
<section id="cxTargetSection7" data-mw-cx-source="undefined">
<p id="mwJw"><span data-segmentid="36" class="cx-segment"> Campingplatz und ein Freibad
<sup typeof="mw:Extension/ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;attrs&quot;:{},&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-1&quot;,&quot;html&quot;:&quot;<a href=\&quot;http://www.wiesbaden.de/microsite/mattiaqua/frei-hallenbaeder/freibad-maaraue/index.php\&quot; rel=\&quot;mw:ExtLink\&quot; class=\&quot;external text\&quot; id=\&quot;mwMg\&quot;>Freibad Maaraue online bei mattiaqua</a>&quot;}}" class="mw-ref" about="#mwt4" id="cite_ref-1" rel="dc:references"><a href="./Maaraue#cite_note-1" style="counter-reset: mw-Ref 1;"><span class="mw-reflink-text">[1]</span>.</span></p>
</section>
Expected output
<section data-mw-cx-source="undefined" id="cxTargetSection7">
<p id="mwJw"><span class="cx-segment" data-segmentid="36"> Camping et Piscine en plein air
<sup about="#mwt4" class="mw-ref" data-cx="{&#34;adapted&#34;:true}" data-mw="{&#34;name&#34;:&#34;ref&#34;,&#34;attrs&#34;:{},&#34;body&#34;:{&#34;id&#34;:&#34;mw-reference-text-cite_note-1&#34;,&#34;html&#34;:&#34;&#60;a rel=\&#34;mw:ExtLink\&#34; id=\&#34;mwMg\&#34; href=\&#34;http://www.wiesbaden.de/microsite/mattiaqua/frei-hallenbaeder/freibad-maaraue/index.php\&#34; class=\&#34;external text\&#34;&#62;Piscine extérieure Maaraue en ligne à mattiaqua&#60;/a&#62;&#34;}}" id="cite_ref-1" rel="dc:references" typeof="mw:Extension/ref"><a href="./Maaraue#cite_note-1" style="counter-reset: mw-Ref 1;"><span class="mw-reflink-text">[1]</span>.</a></sup></span></p></section>

Event Timeline

santhosh created this paste.Jan 23 2019, 12:15 PM
santhosh changed the title of this paste from untitled to T213256 - Sample input and output.