VisualEditor: Pre-fill the section title in the edit summary when launched from a section edit link
Closed, ResolvedPublic

Description

Even though section editing in VE is a long way off, it would be really helpful if the title of the section you click edit on was automatically included in the edit summary in the same way that the source editor does. For example, when making [https://en.wikipedia.org/w/index.php?title=Viareggio_train_derailment&diff=next&oldid=563164136 this edit] I launched the VE by clicking on the edit link for the "See also" section, so I was expecting the edit summary to begin with the usual "-> See also". This provides context for the edit summary and so helps give context at recent changes and on watchlists.


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

bzimport set Reference to bz50872.
Thryduulf created this task.Via LegacyJul 6 2013, 10:37 PM
Jdforrester-WMF added a comment.Via ConduitJul 6 2013, 11:58 PM

(In reply to comment #0)

Even though section editing in VE is a long way off, it would be really
helpful if the title of the section you click edit on was automatically
included in the edit summary in the same way that the source editor does.
For example, when making https://en.wikipedia.org/w/?diff=next&oldid=563164136
this edit I launched the VE by clicking on the edit link for the "See also"
section, so I was expecting the edit summary to begin with the usual "-> See
also". This provides context for the edit summary and so helps give context
at recent changes and on watchlists.

Won't this be rather mis-leading? Normally reviewers will expect the changes to be limited to that section, whereas editors are unlikely to keep their changes restricted in that way. Potentially we could add it into the edit summary box before the user adds anything, so they can remove it if they want?

Jdforrester-WMF added a comment.Via ConduitJul 7 2013, 12:00 AM
  • Bug 50535 has been marked as a duplicate of this bug. ***
Thryduulf added a comment.Via ConduitJul 7 2013, 7:44 AM

Absolutely it can (and probably should) be removable.

As for editing other sections, hmm. My initial thought is to wonder whether it could be detectable from the diff generator which section(s) have been edited?

bzimport added a comment.Via ConduitJul 7 2013, 8:27 AM

dgerard wrote:

Well, having a misleading "edit section" link isn't considered a problem.

Jdforrester-WMF added a comment.Via ConduitJul 15 2013, 11:51 PM
  • Bug 51343 has been marked as a duplicate of this bug. ***
gerritbot added a comment.Via ConduitJul 18 2013, 10:38 PM

Change 74545 had a related patch set uploaded by Esanders:
Prepend section title to edit summary

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

Catrope added a comment.Via ConduitJul 23 2013, 6:51 PM
  • Bug 51903 has been marked as a duplicate of this bug. ***
Kipod added a comment.Via ConduitJul 23 2013, 7:07 PM

(In reply to comment #7)

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

not exactly: this bug is about "when launched from section edit link".

IMO, this will be wrong: VE does not support section edit, and a user can launch VE from a section edit link, and then do whatever anywhere on the page.

bug 51903 asked VE to analyze the page when the user press "save", find out whether or not the changes are confined to a specific section, and if so (regardless of how VE was launched), add the section name to the summary.

so i do not think these two are truly "duplicates".
if anything, this bug should be marked "invalid" and bug 51903 should be resurrected (51903 was opened as "enhancement request").

peace.

gerritbot added a comment.Via ConduitJul 23 2013, 11:02 PM

Change 74545 merged by jenkins-bot:
Prepend section title to edit summary

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

Jdforrester-WMF added a comment.Via ConduitJul 24 2013, 2:54 AM

Done and will be deployed tomorrow.

Ricordisamoa added a subscriber: Ricordisamoa.Via WebFeb 15 2015, 11:06 PM

Add Comment