Page MenuHomePhabricator

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

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

Details

Reference
bz51903

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:04 AM
bzimport set Reference to bz51903.
  • This bug has been marked as a duplicate of bug 50872 ***

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).

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

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.

(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.

  • Bug 56891 has been marked as a duplicate of this bug. ***

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

(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.

Amire80 renamed this task 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.Nov 28 2014, 12:08 PM
Amire80 renamed this task 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.

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?

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.

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.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM
Aklapper removed a subscriber: TrevorParscal.