If the user only has edited in one section, VisualEditor should insert the name of the edited section into the edit summary
OpenPublic

Description

one thing that makes life better with existing editor is the fact that when editing a specific section, the section name is automatically added to the edit summary. often, this ends up being the entire edit summary.

REQUESTED ACTION

  1. when hitting "save", test to see if all the diffs are contained in a single section, and if so, add the section name to the edit summary automatically.
  2. just like with existing editor, allow the user to modify or remove this part. i.e., the request is to pre-populate the summary box, not to add section name outside of summary box such that the user can't touch it.

peace.


Version: unspecified
Severity: enhancement
See Also: T54859, T50274, T52872, T60488

bzimport added a project: VisualEditor-MediaWiki.Via ConduitNov 22 2014, 2:04 AM
bzimport set Reference to bz51903.
Kipod created this task.Via LegacyJul 23 2013, 6:46 PM
Catrope added a comment.Via ConduitJul 23 2013, 6:51 PM
  • This bug has been marked as a duplicate of bug 50872 ***
bzimport added a comment.Via ConduitJul 29 2013, 10:50 PM

ignatzmice.wiki wrote:

I agree with kipod's comments at bug 50872, this bug is not a duplicate if that one. This would be a very useful feature (if rather resource-intensive).

Jdforrester-WMF added a comment.Via ConduitJul 30 2013, 3:58 PM

You're right, this isn't a duplicate; I'm re-opening and titling it to be clearer.

Elitre added a comment.Via ConduitAug 13 2013, 2:10 PM

A user at it.wp wonders: if VE could pre-populate the summary box, could it also auto-add the text that was added, in case of very short additions? i.e., if someone added a parameter to a template, could it automatically detect what was added and write it in the edit summary? Thanks.

Mattflaschen added a comment.Via ConduitAug 14 2013, 6:54 PM

(In reply to comment #4)

A user at it.wp wonders: if VE could pre-populate the summary box, could it
also auto-add the text that was added, in case of very short additions? i.e.,
if someone added a parameter to a template, could it automatically detect
what was added and write it in the edit summary? Thanks.

Yes, in theory, but in my opinion, that's a separate bug. Filed as bug 52859.

Elitre added a comment.Via ConduitAug 14 2013, 8:37 PM

(Thanks Matthew!)

Jdforrester-WMF added a comment.Via ConduitNov 19 2013, 6:29 AM
  • Bug 56891 has been marked as a duplicate of this bug. ***
Elitre added a comment.Via ConduitOct 10 2014, 8:25 AM

Isn't this the current behavior (for various meanings of "section editing")?

Jdforrester-WMF added a comment.Via ConduitOct 11 2014, 12:02 AM

(In reply to Elitre from comment #8)

Isn't this the current behavior (for various meanings of "section editing")?

No. This is asking for VE-MW to insert the name of the section edited if only one section was edited, even if the editor was launched from a page-level link. Doing it when the user clicks a section edit link was bug 50872 and is indeed done. Not doing it when the user clicks a section edit link and then edits outside the link is bug 58488.

Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebNov 24 2014, 4:17 PM
Amire80 changed the title from "VisualEditor: If the user only has edited in one section (??), insert the name of that section into the edit summary as if they were section-editing" to "VisualEditor: If the user only has edited in one section, insert the name of that section into the edit summary as if they were section-editing".Via WebNov 28 2014, 12:08 PM
Amire80 changed the title from "VisualEditor: If the user only has edited in one section, insert the name of that section into the edit summary as if they were section-editing" to "If the user only has edited in one section, VisualEditor should insert the name of the edited section into the edit summary".
Amire80 set Security to None.
Krenair added a subscriber: Krenair.Via WebNov 28 2014, 4:11 PM
Mattflaschen removed a subscriber: Mattflaschen.Via WebDec 2 2014, 1:56 AM
Ciencia_Al_Poder edited the task description. (Show Details)Via WebDec 26 2014, 10:26 AM
Etonkovidova added a subscriber: Etonkovidova.Via WebDec 30 2014, 8:15 PM

Curret behavior in production:

  • click on Edit on a section on a page
  • make changes to that section - click Save
  • Save dialog box - 'Edit summary' box will pre-populated with the title of a section that was edited:

/* Section 3 */

  • 'Review your changes' will have an additional pointer to the section that was edited:

Preview of edit summary:
(→‎Section 3: )

The scope of the bug is bigger than that?

matmarex added a comment.Via WebJan 7 2015, 1:02 PM

The scope of the bug is bigger than that?

Yes:

  • When the user edits text in other sections too, this hint shouldn't appear.
  • When the user opens VE using the "Edit" tab at the top and only edits one section, the appropriate hint should appear.
Kipod added a comment.Via WebJan 9 2015, 5:31 PM

The scope of the bug is bigger than that?

Yes:

  • When the user edits text in other sections too, this hint shouldn't appear.
  • When the user opens VE using the "Edit" tab at the top and only edits one section, the appropriate hint should appear.

what he said.
with VE, the "edit" links to the right (or left, in rtl wikis) of the section title are misleading: unlike wikieditor, where clicking one of those will limit the changes to this section, with VE there no such limitation.

IMO, the current VE behavior is wrong and misleading (T60488 agrees with this view). when looking at page history, i don't care which thingy the editor clicked to start the editor - i want to know which changes this edit contains.
if you do not _know_ that the changes are limited to some section, please don't tell me they are. (and, on the other hand, if you _do_ know such a thing, it would be nice if you told me).

peace.

Stryn added a subscriber: Stryn.Via WebSun, May 10, 11:54 AM
Ricordisamoa added a subscriber: Ricordisamoa.Via WebWed, May 20, 10:00 PM

Add Comment