Page MenuHomePhabricator

Represent LST <section begin="foo" /> nodes more usefully
Closed, ResolvedPublic

Description

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?


Version: unspecified
Severity: enhancement

Details

Reference
bz70582

Related Objects

StatusSubtypeAssignedTask
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
InvalidJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedCatrope
OpenNone
OpenNone
DeclinedNone
ResolvedNone
DeclinedKrinkle
ResolvedNone
OpenNone
Resolved rmoen
Resolved rmoen
ResolvedMooeypoo
Resolved rmoen
ResolvedMooeypoo
ResolvedMooeypoo
Resolvedcscott
Resolvederanroz
ResolvedMooeypoo
ResolvedEsanders
ResolvedNone
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedLtrlg
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedInez
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
Resolved rmoen
ResolvedMooeypoo
Resolved rmoen
Resolved rmoen
ResolvedAmire80
ResolvedEsanders
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedAmire80
ResolvedAmire80
ResolvedCatrope
ResolvedAmire80
Resolved TrevorParscal
ResolvedEsanders
ResolvedEsanders
ResolvedMooeypoo
OpenNone
Resolvedmatmarex
ResolvedMooeypoo
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
Resolvedmarcoil

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:43 AM
bzimport added a project: Parsoid-DOM.
bzimport set Reference to bz70582.
gerritbot added a subscriber: gerritbot.

Change 189748 had a related patch set uploaded (by Marcoil):
T72582: Change how LST <section>s are output

https://gerrit.wikimedia.org/r/189748

Patch-For-Review

The patch I've pushed uses typeof instead of property, so the output would be

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

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

Would that work? That is, until we get around implementing LST natively in Parsoid…

@Jdforrester-WMF: Is this an important fix for VE in the near term .. i.e. is editing experience enhanced in any way with these metas instead of placeholders?

marcoil changed the task status from Open to Stalled.Feb 21 2015, 10:57 AM

Waiting on feedback from VE team.

@Jdforrester-WMF: Is this an important fix for VE in the near term .. i.e. is editing experience enhanced in any way with these metas instead of placeholders?

Only on Wikisources which aren't a Q3 priority area.

Change 189748 merged by jenkins-bot:
T72582: Change how LST <section>s are output

https://gerrit.wikimedia.org/r/189748