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

            Bug ID: 70582
           Summary: Represent LST <section begin="foo" /> nodes more
                    usefully
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 70581
       Web browser: ---
   Mobile Platform: ---

Right now, the wikitext for LST markers –

  <section begin=2011-05-16 />

  <section end="2014-04-10 (MW 1.23wmf22)" />

… get turned into mw:Placeholder elements:

  <meta typeof="mw:Placeholder" data-parsoid="{&quot;src&quot;:&quot;<section
begin=2011-05-16 />&quot;,&quot;dsr&quot;:[1212,1240,null,null]}">

  <meta typeof="mw:Placeholder" data-parsoid="{&quot;src&quot;:&quot;<section
end=\&quot;2014-04-10 (MW 1.23wmf22)\&quot;
/>&quot;,&quot;dsr&quot;:[217276,217319,null,null]}">


It'd be helpful if they had their own type – maybe:

  <meta property="mw:LabeledSectionTransclusion/begin" content="2011-05-16">

  <meta property="mw:LabeledSectionTransclusion/end" content="2014-04-10 (MW
1.23wmf22)">

Does this seem sensible?

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