Page MenuHomePhabricator

Edit summary box should be a multiline input
Open, LowPublic

Description

Author: avarab

Description:
The edit page should be changed to accommodate larger edit summaries:

  • The text input area needs to be changed fron <inputbox type="text"> to <textarea>

Optional:

  • The textarea should auto-expand when entering a larger summary (JS)
  • The textarea should have some sort of live-preview of the summary (since it uses a limited subset of wikisyntax) (JS)
  • The textarea should use autocomplete, most (all) browsers don't have this on for <textarea>

Details

Reference
bz4716

Related Objects

StatusSubtypeAssignedTask
OpenFeatureNone
OpenNone
OpenNone
ResolvedAnomie
Resolvedkaldari
Resolvedjcrespo
ResolvedAnomie
ResolvedAnomie
ResolvedNone
DuplicateNone
ResolvedMarostegui
ResolvedBstorm
ResolvedMarostegui
DeclinedNone
ResolvedAnomie
ResolvedAnomie
ResolvedAnomie
Resolvedmatmarex
OpenNone
OpenZabe
OpenNone
OpenLadsgroup
ResolvedBUG REPORTZabe
ResolvedPRODUCTION ERRORZabe
OpenDreamy_Jazz
StalledNone

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:03 PM
bzimport set Reference to bz4716.
bzimport added a subscriber: Unknown Object (MLST).

Using a <textarea> for summary will break keyboard workflow:
"enter" will no longer work to save.

trevj wrote:

Disabling "Enter" to save may actually be a benefit, because editors are encouraged to use the 'Show preview' function:
http://en.wikipedia.org/wiki/Wikipedia:Tutorial/Editing#Show_preview
http://en.wikipedia.org/wiki/Template:Uw-preview
http://en.wikipedia.org/wiki/Wikipedia:That%27s_why_we_preview,_kids

If this is changed, are there any related database limitations?

Anomie renamed this task from The edit page should be changed to accommodate larger edit summaries to Edit summary box should be a multiline input.Mar 2 2018, 12:30 PM
Anomie added a subscriber: Anomie.

The title from T99944 was more descriptive, let's use that one.

Please don't worry about disabling Enter. On the rare occasions I press it, it's accidental (attempting to insert a newline into wikitext) and I have to revisit the edit. I expect others have similar experiences, and we want to encourage previewing or at least viewing a diff.