Page MenuHomePhabricator

Lists loader: allow rich input types to be stored while keeping recording headwords alone
Open, HighPublic4 Estimated Story PointsFeature

Description

Rich list content

Given rich text such as https://lingualibre.org/wiki/List:User:Yug/test:

<!-- Comment 1 -->
<noinclude>
{{draft}}
</noinclude>
== Test ==
# Albus
# Bicos
# Craco !
# red neck parrots → péroquet à cou rouge
# yellow → jaune
# green → vert [pos:adjective, ipa: /vɜːt/]
<!-- Comment 2a
Comment 2b
Comment 2c -->
#	[item:他]	[simplified:他]	[pinyin:tā]	[IPA:tʰa˥˥]	[eng:he]
#	[item:我們]	[simplified:我们]	[pinyin:wǒmen]	[IPA:uɔ˨˩mən]	[eng:we]

Currently returns :

image.png (675×1 px, 72 KB)

Ceate regex cleaners

Integrate regex into JS

1: Metadata part could be parsed and saved into relevant variables. (Passing it downstream is another issue, see T196038 )

To test

See also

Event Timeline

Yug updated the task description. (Show Details)
Pamputt changed the subtype of this task from "Task" to "Feature Request".Oct 6 2020, 8:29 PM
Yug triaged this task as Medium priority.Jul 6 2022, 10:42 AM
Yug renamed this task from If <noinclude> element in list page, do not include content in record wizard display to List loader: remove <noinclude> element when loading list.Jul 7 2022, 10:12 AM
Yug renamed this task from List loader: remove <noinclude> element when loading list to Lists loader: remove <noinclude> element when loading list.Jul 7 2022, 11:02 AM
Yug renamed this task from Lists loader: remove <noinclude> element when loading list to Lists loader: handle more input types.Jul 19 2022, 5:21 PM
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug raised the priority of this task from Medium to High.Jul 20 2022, 10:24 AM
Yug set the point value for this task to 4.Jul 21 2022, 6:21 PM
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug renamed this task from Lists loader: handle more input types to Lists loader: allow rich input types to be stored while keeping recording headwords alone.Aug 11 2023, 4:07 AM