Last modified: 2013-07-15 23:51:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53343, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51343 - VisualEditor: Automatically add title of the section to edit summary
VisualEditor: Automatically add title of the section to edit summary
Status: RESOLVED DUPLICATE of bug 50872
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-15 08:58 UTC by Michael M.
Modified: 2013-07-15 23:51 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2013-07-15 08:58:37 UTC
It would be very usefull if VE added the title of the section automatically to the edit summary, if the user only changed contents in one section. This is not the same request as bug 48429, the section should be added even if the user edited the whole page, but only changed contents of one section.

Rationale: The automatic section in the summary is very usefull if you check edits of other users. Two examples:

1. A user adds a new external link (without summary). Without the section you have to look at the diff, but if the edit summary contained a /* External links */ you can guess what the user did even without summary.

2. You want to find the user who added the image to section "Foo". Even if there are summaries like "+image" this doesn't help you much, but the summary /* Foo */ +image does help you. The section is also usefull if no additional summary is given, in the worst case you have to look at all changes to the whole article and to the section "Foo" to find the author.

Pseudo-algorithm:

1. Find the position of the first and the last change in the new text (i.e. find the common initial and final strings in the old and the new text).
2. Find the first headline above the last change (a line that starts with that character or before it and matches the pattern for headlines).
3. If this headline is before the first change, you found the section.
4. Else look for the next headline before it of higher level.
5. If there is such a headline, go to step 3, else more than one section was changed.
Comment 1 Ignatzmice 2013-07-15 12:39:18 UTC
I agree with Michael, this would be very useful.
Comment 2 James Forrester 2013-07-15 23:51:19 UTC
This is the same as bug 50872; merging.

*** This bug has been marked as a duplicate of bug 50872 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links