We should make it impossible to type newlines in the edit summary in VisualEditor, to match MediaWiki's behavior. Edit summaries are single-line and any newlines that accidentally get there are not rendered anyway. (Vaguely related: T106259)
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Disallow typing newlines in the edit summary | mediawiki/extensions/VisualEditor | master | +17 -7 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | matmarex | T54133 VisualEditor: Edit summary box should be a text input box and not textarea | |||
Resolved | matmarex | T106325 Disallow typing newlines in the edit summary in VisualEditor |
Event Timeline
Comment Actions
Change 225861 had a related patch set uploaded (by Bartosz Dziewoński):
Disallow typing newlines in the edit summary
Comment Actions
to match MediaWiki's behavior
Actually, in source editing mode, pressing the Enter key saves the page.
Comment Actions
Yeah, the difference is intentional (maybe I didn't say it very well, feel free to amend the commit message). As discussed previously somewhere on the related tasks, the VE edit summary input field "looks" multiline and Enter saving the page could be surprising (and especially annoying since you can't correct the summary later).