Context
The MEX design for editing item statements would like the user to be able to edit multiple statements in a statement group at once, and all the changes then saved in a single edit when the user clicks “publish”.
However, the API currently doesn’t support this very well – the only API module we could use would be wbeditentity.
Main Objective
Find a solution which allows a short summary to be created when specifically adding multiple statements with a single property
Main Problem Statement: When a user edits multiple statements with one action, the watchlist summary needs a concise overview of what was changed.
Task Overview
T403149: [MEX] M3.1.2 - Investigate options for improving information saved while publishing resulted in 4 options:
- Option 1 : Statement-Specific Summary Detection
- Option 2: Enhanced ChangeOpResult Analysis
- Option 3: Client-Side Summary Enhancement
- Option 4: Teach EditEntity to respect the summary returned by ModifyEntity::applyChangeOp
Option 1 and Option 2 are similar, with the team having a preference for combining the two. The key difference is where the analysis lives:
Option 1: Analysis code in StatementChangesAnalyzer + EditSummaryHelper
Option 2: Analysis code in ChangeOp class + EditSummaryHelper (but same logic, extending the current functionality of ChangeOpResult)
Option 3 was ruled out after the initial investigation (T403149#11218891)
Related Tasks
T67846: wbeditentity: try to use appropriate autocomment instead of the generic one
T191885: Reflect atomic changes in wbeditentity summary
T67846: wbeditentity: try to use appropriate autocomment instead of the generic one