Page MenuHomePhabricator

When user inputs */1. at the start of the line, make it a bulletted/numbered list
Closed, ResolvedPublic

Description

If someone is starting to type a normal bullet list. It could be nice to automatically make it a real list instead of flashing a warning. Also perhaps similar for numbered lists


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52644

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:00 AM
bzimport set Reference to bz51408.

This is standard behaviour in at least LibreOffice Writer and I think Microsoft Word too, so it's likely this will be attempted by people who have no knowledge of what wikitext is.

en.wp user Ruud Koot comments:
"People have come to expect certain things of a WYSIWIG editor: when I input a bulleted list by starting my line with an asterisk (ironically, just as you would in the source editor), the editor should automatically convert this to a proper bulleted list; [...] Microsoft Word provides exactly this kind of functionally. For an experienced editor like me, having to using my mouse to click a toolbar button takes more time than inputting this in the source editor. A novice editor, who likely is experienced with Microsoft Work, might expect the editor to be this intelligent and not even recognize the toolbar buttons for what they are."

Jdforrester-WMF renamed this task from VisualEditor: When user inputs * at the start of the line, make it a bulletted list to When user inputs * at the start of the line, make it a bulletted list.Nov 24 2014, 1:52 AM
Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF added a project: VisualEditor.
Jdforrester-WMF set Security to None.
Esanders renamed this task from When user inputs * at the start of the line, make it a bulletted list to When user inputs */1. at the start of the line, make it a bulletted/numbered list.Nov 24 2014, 10:33 AM
Esanders added subscribers: bzimport, Esanders.

Change 175334 had a related patch set uploaded (by Jforrester):
Create ve.ui.Sequence which matches commands to typed text

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

Patch-For-Review

Change 175334 merged by jenkins-bot:
Create ve.ui.Sequence which matches commands to typed text

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

Jdforrester-WMF mentioned this in Unknown Object (Diffusion Commit).Nov 25 2014, 10:18 PM

Verified in betalabs.

Typing asterisk will be converted into a bulleted list entry.

Typing 1. (with a dot and some following txt) will be converted into a numbered list entry.