Page MenuHomePhabricator

Make edit summaries more specific
Closed, ResolvedPublicFeature

Assigned To
Authored By
Nardog
Oct 13 2025, 2:04 AM
Referenced Files
F70116342: 2025-11-11_08-51-50.png
Nov 11 2025, 8:44 PM
F70116339: 2025-11-11_08-51-14.png
Nov 11 2025, 8:44 PM
F70116337: 2025-11-11_08-42-32.png
Nov 11 2025, 8:44 PM
F70116331: 2025-11-11_08-35-25.png
Nov 11 2025, 8:44 PM
F70116324: 2025-11-11_08-38-22.png
Nov 11 2025, 8:44 PM
F70116362: 2025-11-11_08-49-29.png
Nov 11 2025, 8:44 PM
F70116359: 2025-11-11_08-49-48.png
Nov 11 2025, 8:44 PM
F70116357: 2025-11-11_08-48-52.png
Nov 11 2025, 8:44 PM

Description

As someone who watches wishes, I want to be able to see "Added 'XYZ' tag", "Edited description", "Added XYZ focus area", "Changed status from 'X' to 'Y'", etc. instead of just "Updating the wish '...'" so I can get some sense of what each edit is about without seeing the diff.


Derived Requirements

  1. The edit summaries generated for wish updates should clearly describe the specific type of change made (e.g., tag addition, description edit, focus area update, or status change).
  2. Each summary should include contextual details relevant to the action — for example, the tag or focus area name, or the old and new status values.
  3. Generic edit messages such as “Updating the wish…” should be replaced with specific action-based summaries.
  4. The enhanced summaries should display consistently in the page history, watchlist, and Recent Changes views.
  5. If multiple changes are made in a single edit, the summary should concisely reflect all major actions in readable form.

Test Case 1: Verify edit summary for tag addition

  1. Navigate to a wish page on the test wiki.
  2. Add a new tag (e.g., “Notifications”) to the wish.
  3. Save the edit.
  4. View the page history or watchlist entry.
  5. ✅❌❓⬜ AC1: Confirm that the edit summary reads something like “Added tags: ‘Notifications” instead of a generic message.

Test Case 2: Verify edit summary for description change

  1. Edit the wish description field.
  2. Save the changes.
  3. Open the View history or Recent Changes view.
  4. ✅❌❓⬜ AC2: Confirm that the summary specifies the action, e.g., “Updated Description”.

Test Case 3: Verify edit summary for focus area updates

  1. Add or change the focus area of a wish (e.g., from “Burger Toppings” to “Corn Bread”).
  2. Save the changes.
  3. Check the edit summary in the history.
  4. ✅❌❓⬜ AC3: Confirm the message is specific, e.g., “Changed focus area from ‘UX’ to ‘Performance’”.

Test Case 4: Verify edit summary for status change

  1. Change the status of a wish (e.g., from “In progress” to “Prioritized”).
  2. Save and review the edit summary.
  3. ✅❌❓⬜ AC4: Confirm the summary reads “Changed status from "In progress" to "Prioritized".

Test Case 5: Verify multiple field changes produce a combined summary

  1. Edit multiple fields in a single save (e.g., update tags and change status).
  2. Save and check the edit summary.
  3. ✅❌❓⬜ AC5: Confirm that the summary includes both actions concisely**.

Test Case 6: Verify consistency across interfaces

  1. Review the same edit in Recent Changes, Watchlist, and Page History.
  2. ✅❌❓⬜ AC6: Confirm the edit summary is consistent and correctly displayed across all interfaces.

QA Results - Meta Beta

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1200510 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] ApiWishlistEntityBase: automatically generate edit summaries

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

Change #1200510 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] ApiWishlistEntityBase: automatically generate edit summaries

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

@MusikAnimal Make edit summaries more specific, as seen in the screenshots below. I will mark this as Resolved. Thanks for all your work!

Test Result - Meta Beta

Status: ✅ PASS
Environment: Meta Beta
OS: macOS Tahoe 26.1
Browser: Chrome 142
Device: MBA
Emulated Device: N/A

Test Artifact(s):

  • Screenshots of wish history and watchlist entries before and after updates.

Test Case 1: Verify edit summary for tag addition

  1. Navigate to a wish page on the test wiki.
  2. Add a new tag (e.g., “Notifications”) to the wish.
  3. Save the edit.
  4. View the page history or watchlist entry.
  5. AC1: Confirm that the edit summary reads something like “Added tags: ‘Notifications” instead of a generic message.

2025-11-11_08-33-20.png (1×902 px, 296 KB)

Test Case 2: Verify edit summary for description change

  1. Edit the wish description field.
  2. Save the changes.
  3. Open the View history or Recent Changes view.
  4. AC2: Confirm that the summary specifies the action, e.g., “Updated Description”.

See AC1

Test Case 3: Verify edit summary for focus area updates

  1. Add or change the focus area of a wish (e.g., from “Burger Toppings” to “Corn Bread”).
  2. Save the changes.
  3. Check the edit summary in the history.
  4. AC3: Confirm the message is specific, e.g., “Changed focus area from ‘UX’ to ‘Performance’”.

See AC1

Test Case 4: Verify edit summary for status change

  1. Change the status of a wish (e.g., from “In progress” to “Prioritized”).
  2. Save and review the edit summary.
  3. AC4: Confirm the summary reads “Changed status from "In progress" to "Prioritized".

See AC1

Test Case 5: Verify multiple field changes produce a combined summary

  1. Edit multiple fields in a single save (e.g., update tags and change status).
  2. Save and check the edit summary.
  3. AC5: Confirm that the summary includes both actions concisely**.
Page HistoryRecent ChangesWatchlistSpecial:Contributions
2025-11-11_08-48-37.png (604×929 px, 137 KB)
2025-11-11_08-48-52.png (707×937 px, 162 KB)
2025-11-11_08-49-48.png (813×891 px, 175 KB)
2025-11-11_08-49-29.png (581×917 px, 132 KB)

Test Case 6: Verify consistency across interfaces

  1. Review the same edit in Recent Changes, Watchlist, and Page History.
  2. AC6: Confirm the edit summary is consistent and correctly displayed across all interfaces.
Recent ChangesWatchlistSpecial:ContributionsMobileRTL
2025-11-11_08-38-22.png (848×934 px, 224 KB)
2025-11-11_08-35-25.png (927×904 px, 230 KB)
2025-11-11_08-42-32.png (700×935 px, 192 KB)
2025-11-11_08-51-14.png (928×786 px, 118 KB)
2025-11-11_08-51-50.png (776×992 px, 167 KB)
GMikesell-WMF updated the task description. (Show Details)